Book Image

Oracle ADF Faces Cookbook

By : Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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:

  1. Open the adfc-config.xml file.

  2. Right-click on the white area in the Diagram mode and select the Create or Update ADF Menu option.

  3. Leave the defaults in the pop up and click on OK.

  4. Examine the root_menu attribute from the Structure pane; you can see that every page is represented by itemNode.

  5. Click on the inputComponents node and change the Label attribute to Input Components.

  6. Repeat step 5 for the employeesPopup, fileExplorerMenu, navigationComponents, and outputComponents nodes and change the Label attributes to Popup component...