The include component is used on an ADF UIX page to include UIX content from an external source. Use the node attribute of the include component to specify the included file. This node attribute can also be databound.
The UIX content to be included must be a valid XML file of UIX XML
elements (.uix
file) that map directly to the UI content.
In other words, you cannot use wrapper elements such as
<globalButtons>
and <tabs>
or event
handlers. You also cannot begin an included file with the <page>
element.
To create the included file in JDeveloper, either use a text editor to
create the initial .uix
file with the UIX UI component you
want, and the UIX UI namespace. For example:
<?xml version="1.0" encoding="windows-1252"?>
<globalButtonBar xmlns="http://xmlns.oracle.com/uix/ui">
Then open the initial file in JDeveloper, and continue editing it in the UIX Visual Editor or XML Editor.
Alternatively, you can create a UIX XML page with pageLayout. Then in the XML Editor, delete all elements except the following:
<?xml version="1.0" encoding="windows-1252"?>
<pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
<about/>
<copyright/>
<corporateBranding/>
<end/>
<globalButtons/>
<pageButtons/>
<pageHeader/>
<privacy/>
<productBranding/>
<start/>
<tabs/>
</pageLayout>
Make sure you add the UIX UI namespace
xmlns="http://xmlns.oracle.com/uix/ui"
to the root
element. Now you can continue editing the included file in the UIX Visual
Editor or XML Editor.
About ServletInclude
About UrlInclude
Using Include to Insert UIX XML Content
Working with Include Components
Copyright © 1997, 2004, Oracle. All rights reserved.