Creating a BrowseMenu

This topic describes the steps for creating the layout of a browseMenu; hierarchical data is not used in this procedure. See the ADF UIX Developer's Guide for information about using data trees in ADF UIX.

To create a browseMenu:

  1. In the Design Structure Window of the desired file, locate the pageLayout node.

    If the pageLayout node is not visible, expand page | content | dataScope | document | body | form.

  2. In the Component Palette, select Navigation Components from the dropdown list, and then drag and drop the browseMenu component from the list to the pageLayout node.

    The browseMenu node is inserted and highlighted under the pageLayout node.

  3. In the Property Inspector, set the following attributes for the browse menu:
  4. In the Design Structure Window, expand pageLayout | browseMenu | browseMenu Named Children, right-click contentLink and then choose Insert inside contentLink | link.

    The link node is inserted and highlighted under the expanded contentLink node.

  5. In the Property Inspector, set the following attributes for the content link you have inserted.
  6. In the Design Structure Window, expand pageLayout | browseMenu | browseMenu Named Children, right-click categories and then choose Insert inside categories | bulletedList.

    The bulletedList node is inserted under the expanded categories node.

  7. Right-click the bulletedList node and choose Insert inside bulletedList | link.

    The link node is inserted and highlighted under the expanded bulletedList node in categories.

  8. In the Property Inspector, set the text attribute for the link you have inserted, and any other attributes you desire.
  9. Repeat steps 7 and 8 to add any number of links for categories.
  10. In the Design Structure Window, expand pageLayout | browseMenu | browseMenu Named Children, right-click items and then choose Insert inside items | bulletedList.

    The bulletedList node is inserted under the expanded items node.

  11. Right-click the bulletedList node and choose Insert inside bulletedList | link.

    The link node is inserted and highlighted under the expanded bulletedList node in items.

  12. In the Property Inspector, set the text attribute for the link you have inserted, and any other attributes you desire.
  13. Repeat steps 11 and 12 to add any number of links for items.
  14. In the Design Structure Window, expand pageLayout | browseMenu | browseMenu Named Children, right-click location and then choose Insert inside location | breadCrumbs.

    The breadCrumbs node is inserted under the expanded location node.

  15. Right-click the breadCrumbs node and choose Insert inside breadCrumbs | link.

    The link node is inserted and highlighted under the expanded breadCrumbs node.

  16. In the Property Inspector, set the text attribute for the link you have inserted, and any other attributes you desire.
  17. Repeat steps 15 and 16 to add the required number of links for breadCrumbs.

Tip: If location and contentLink are used but empty, set the rendered attribute to false so that the spacing is displayed correctly.

Notes:

Example (UIX XML)


...
<pageLayout>
  <contents>
    <!-- BrowseMenu Prototype -->
    <browseMenu categoryTitle="Categories"
                itemTitle="Items"
                title="Browse">
      <categories>
        <bulletedList>
          <contents>
            <link text=""/>
          </contents>
        </bulletedList> 
      </categories>
      <contentLink/>
      <items>
        <bulletedList>
          <contents>
            <link text=""/>
          </contents>
        </bulletedList> 
      </items> 
      <location> 
        <breadcrumbs>
          <contents>
            <link text="link"/>
          </contents>
        </breadcrumbs>
      </location> 
    </browseMenu> 
  </contents> 
  
  <!-- REST OF PAGE LAYOUT-->
  
</pageLayout>
...    

About BrowseMenu

Working with Navigation Components

 

Copyright © 1997, 2004, Oracle. All rights reserved.