O'Reilly logo

Oracle ADF Faces Cookbook by Amr Gawish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using menus, toolbars, and toolboxes

Menu bars and toolbars allow you to organize menus, buttons, and other simple components in a horizontal bar. Menus can be nested to show multiple levels and hierarchical data. At the leaf of the hierarchy, each menu item can trigger an action or redirect completely.

In this recipe, we will create a single page to showcase the menu of a system similar to the file explorer, where the buttons will not be perform any actions; this page will just be an example. You can resume from the previous recipe, or you can grab the ADFFacesMenus application from the Git repository.

How to do it...

To add menus, toolbars, and toolboxes, follow the ensuing steps:

  1. Open the adfc-config.xml file.
  2. Drag-and-drop a view activity inside ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required