There are 3 navigation tags along with 4 menu item tags in MyFaces. In general <t:panelNavigation2> and <t:jscookMenu> are the newer of the navigation tags. <t:navigationMenuItems> and <t:navigationMenuItem> are the newer menu item tags.

The table below illustrates working combination as of 1.1.3.

<t:jscookMenu>

<t:panelNavigation>

<t:panelNavigation2>

Java Script Based

Yes

No

No

<t:navigationMenuItems>

Yes

Yes

List only

<t:navigationMenuItem>

Yes

Yes

List Only

<t:commandNavigation>

No

Yes

No

<t:commandNavigation2>

No

No

Table only

Get menu items from backing bean

Yes

No

Yes

Role of CSS Style and Classes

In general, the tags will provide the menuing functionality, but it is the CSS, i.e. classes and style, the define the presentation. When looking at the examples, you must include the stylesheet.

Navigation_Overview (last edited 2009-09-20 23:02:03 by localhost)