The Tomahawk component library includes a number of useful components for creating navigation menus for our JSF applications. Depending on the information architecture of the website, and the number of static and dynamic views within the application, a navigation menu may be simple or complex. It may have a small set of top-level menu items, or it may have a large number of submenus and submenu items.
The navigation components in the Tomahawk component library integrate with the declarative navigation and page flow support provided by the JSF framework. A typical JSF application will have navigation rules declared in faces-config.xml
that specify the page flow for the use cases supported by the application.
<navigation-rule> <display-name>*</display-name> <from-view-id>*</from-view-id> <navigation-case> <from-outcome>products</from-outcome> <to-view-id>/products.jsf</to-view-id> <redirect /> </navigation...