O'Reilly logo

JSF 1.2 Components by Ian Hlavats

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

Creating navigation menus

One of the strengths of the Trinidad framework is the ease with which it enables us to implement complex navigation menus. Trinidad includes a number of useful components designed for this purpose.

Rendering a navigation tree

The CoreNavigationTree component is rendered by the<tr:navigationTree> tag and provides a hierarchical navigation menu that can be bound to a model object provided by a backing bean or to an XML file containing metadata about the navigation structure of the application.

Like the CoreTree component, this component can be bound to a model representing hierarchical data, however the CoreNavigationTree component expects a model of type MenuModel. The MenuModel interface extends the TreeModel interface ...

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