First page Back Continue Last page Text

oracle adf workshop


Examining the ADF Menu Model

When you create an ADF Menu Model, an XML file is created for each menu. The XML file defines the nodes that you can use in navigational components, such as breadcrumbs.

If you examine the unbounded task flow, you can see that a global control flow rule, containing one or more control flow cases, has been added. The from-outcome properties of these control flow cases correspond to the actions in the item nodes named in the XML Menu Model.

Creating the ADF menu model also adds a managed bean of the class org.apache.myfaces.trinidad.model.XMLMenuModel. One of the managed properties of this bean is source, which is set to the XML file for the menu model.

Next you learn to use the menu model in navigational components.