Creating an ADF Menu Model
You can use ADF Controller features in conjunction with XML Menu Model to build the page hierarchy. JDeveloper creates the nodes in the metadata file for your page hierarchy automatically, and also creates the links.
To create a page hierarchy, you first divide the nodes into menus, similar to the example shown in the slide. The example shows the top-level menu as containing the Home page, which is represented as an item node. It contains a navigation pane with two tabs: one that links to Employee Data (an item node), and one that links to Benefits (a shared node).
The Benefits menu adds two links to Insurance (shared node) and Paid Time Off (item node).
The Insurance menu adds two links to the Health and Dental item nodes.
To create a page hierarchy, perform the following steps:
1. Create an unbounded task flow for each menu in the page hierarchy. You could put the pages all in adfc-config.xml, but for reuse you may opt to create multiple menus. The example contains two menus: Home, Benefits, and Insurance. So in the example, the developer would create three unbounded task flows: adfc-config-home.xml, adfc-config-benefits.xml, and adfc-config-insurance.xml (it is helpful to prefix unbounded task flow names with adfc or adfc-config to easily identify them as unbounded task flows.) The default task flow, adfc-config.xml, serves as the root menu.