To create a globalButton:
The globalButtons node is under pageLayout Named Children in pageLayout. or pageHeaderLayout Named Children in pageHeaderLayout .
The globalButtonBar node is inserted under the expanded globalButtons node.
The new globalButton node is inserted and highlighted in the Structure Window. The Property Inspector displays the properties of the new component.
Global buttons are displayed in sequence horizontally. More than seven global buttons is undesirable because the information may be obscured from view without additional scrolling.
Tip: To enable a globalButton to work like a submitButton, set the onClick attribute to submitForm('formname', 0);return true; where formname is the name of the form to submit to the server.
Note: To use data binding, see Data Binding a Component Attribute.
...
<pageLayout>
<!-- Navigation -->
<globalButtons>
<globalButtonBar>
<contents>
<globalButton text="View source" icon="images/globalhelp.gif" ctrl:event="viewSource"/>
<globalButton text="Help" icon="images/globalhelp.gif" destination="http://www.oracle.com"/>
</contents>
</globalButtonBar>
</globalButtons>
<!-- REST OF PAGE LAYOUT-->
</pageLayout>
...
About GlobalButton
About ApplicationSwitcher
About PageHeaderLayout and its Named Children
Creating an ApplicationSwitcher
Working with Navigation Components
Working with Layout Components
Copyright © 1997, 2004, Oracle. All rights reserved.