Utilizing XML Menu Model with NavigationPane, Breadcrumbs, and MenuBar
An application may consist of pages that are related and organized in a tree-like hierarchy, where users gain access to specific information on a page by drilling down a path of links.
In this recipe, we will create an XML Menu Model and show how we can display it using different components.
How to do it...
In order to create the XML Menu Model and use it with different components, follow the ensuing steps:
Open the
adfc-config.xml
file.Right-click on the white area in the Diagram mode and select the Create or Update ADF Menu option.
Leave the defaults in the pop up and click on OK.
Examine the
root_menu
attribute from the Structure pane; you can see that every page is represented byitemNode
.Click on the
inputComponents
node and change theLabel
attribute toInput Components
.Repeat step 5 for the
employeesPopup
,fileExplorerMenu
,navigationComponents
, andoutputComponents
nodes and change theLabel
attributes toPopup component...