To create a hierarchical list using styledList and the label named child:
The inner styledList node is inserted and highlighted in the Design Structure Window.
There are two named children elements: label and separator.
The styledItem node is inserted and highlighted under the expanded label node in the Design Structure Window.
The link node is inserted and highlighted under the expanded styledItem node. This is the first indexed child of the inner list.
Note: To use data binding, see Data Binding a Component Attribute.
...
<pageLayout>
...
<!-- StyledList embedded in a StyledList -->
<styledList selectedIndex="2">
<contents>
<styledItem >
<contents>
<link text="Link 1 Text" destination="http://www.oracle.com"/>
</contents>
</styledItem>
<styledItem>
<contents>
<link text="Link 2 Text" destination="http://www.oracle.com"/>
</contents>
</styledItem>
<styledList listStyle="decimal">
<!-- First indexed child of inner list -->
<label>
<styledItem>
<contents>
<link text="Link 3 Text" destination="http://www.oracle.com"/>
</contents>
</styledItem>
</label>
<!-- Separator named child of inner list -->
<separator>
<spacer height="10"/>
</separator>
<!-- Other indexed children of inner list -->
<contents>
<styledItem>
<contents>
<link text="Link 3-1 Text" destination="http://www.oracle.com"/>
</contents>
</styledItem>
<styledItem>
<contents>
<link text="Link 3-2 Text" destination="http://www.oracle.com"/>
</contents>
</styledItem>
</contents>
</styledList>
<styledItem>
<contents>
<link text="Link 4 Text" destination="http://www.oracle.com"/>
</contents>
</styledItem>
</contents>
</styledList>
...
<!-- REST OF PAGE LAYOUT -->
<pageLayout>
...
About StyledList and StyledItem
About BulletedList
Creating a List Using StyledList
and StyledItem
Inserting Vertical Spacing Between Indexed Children of a StyledList
Working with Layout Components
Copyright © 1997, 2004, Oracle. All rights reserved.