To insert UIX XML content using the include component:
The include node is inserted and highlighted under the expanded parent node.
includes/gbInclude.uix
.
Note: To use data binding, see Data Binding a Component Attribute.
...
<pageLayout title="">
...
<globalButtons>
<include node="gbInclude.uix"/>
</globalButtons>
...
<contents>
<!-- Define the main content of the page here -->
</contents>
</pageLayout>
...
This is the included file gbInclude.uix
:
<?xml version="1.0" encoding="windows-1252"?>
<globalButtonBar xmlns="http://xmlns.oracle.com/uix/ui">
<contents>
<globalButton text="Help" source="images/help.gif"/>
</contents>
</globalButtonBar>
This is an example that uses data binding in the include component:
...
<globalButtons>
<include node="${uix.data.someSource.gbInclude}"/>
</globalButtons>
...
About Include
About ServletInclude
About UrlInclude
Using ServletInclude to Insert JSP and
Servlets
Using UrlInclude to
Insert HTML Content
Working
with Include Components
Copyright © 1997, 2004, Oracle. All rights reserved.