The body element is a container for the body of a UIX document in ADF UIX. This element is required as the root of all content that you wish to be used in windows opened from UIX components content. The body element is automatically added for you when you create any UIX XML page in JDeveloper.
The attributes you can set for the body element are:
dirty
- Specifies a boolean value that determines whether
the page should be treated as immediately "dirty". This attribute is
not supported on the following agent types: pda, phone, voice. If set
to true, and the navigationFormName attribute has been set, then a
"navigate" event will always be delivered even if the user has not
modified the page in any way. (Note that if the "onNavigate" handler
returns false, then navigation will be blocked.)initialFocusId
- Specifies the id of the component to
which you want the focus to be when the full page renders. The
<accessibility-mode>
element in the UIX configuration
file (uix-config.xml
) must be set to inaccessible for
this feature to be on. This attribute is not supported on the
following agent types: pda, phone, voice.
navigationFormName
- Specifies a form name that will be
used as a proxy for navigating off the page. This attribute is not
supported on the following agent types: pda, phone, voice.
When navigationFormName is used, UIX will automatically track the state of that form and all links that lead to other pages.
Use the body element to attach onLoad, onUnload, and other handlers to the UIX page.
Example:
...
<body>
<contents>
<styledText text="Here is some text inside a body element"
</contents>
</body>
...
About the Document Element and MetaContainer Named Child
Using the Body Element
Working with Simple and Miscellaneous Components
Copyright © 1997, 2004, Oracle. All rights reserved.