Using the Document Element and MetaContainer Named Child

To use the metaContainer named child of a document element:

  1. In the Design Structure Window of the desired file, expand the document node to uncover the metaContainer named child node.
  2. Right-click the metaContainer node and choose Insert inside metaContainer | head.

    The head node is inserted and highlighted under the expanded metaContainer node.

  3. In the Property Inspector, set the following attributes for the head component:

Note: To use data binding, see Data Binding a Component Attribute.

To insert preferred components for a document element:

Example (UIX XML)


...
<page xmlns="http://xmlns.oracle.com/uix/controller"
      xmlns:ui="http://xmlns.oracle.com/uix/ui"
      xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
      xmlns:html="http://www.w3.org/TR/REC-html40"
      expressionLanguage="el">
  <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
      <provider>
        <!-- Add DataProviders (<data> elements) here -->
      </provider>
      <contents>
        <document>
          <metaContainer>
            <!-- Set the page title -->
            <head title="Document title"/>
          </metaContainer>
          <contents> 
            <body>
              <contents>
                <pageLayout/> 
              </contents>
            </body>
          </contents>
        </document>
      </contents>
   </dataScope>
  </content>
</page>    

About the Document Element and MetaContainer Named Child

Using the Body Element
Inserting a Head
Working with Simple and Miscellaneous Components

 

Copyright © 1997, 2004, Oracle. All rights reserved.