In Human Machine Interface (HMI) design, navigation menus present a useful "affordance" by which users can interact with a system, much like door handles allow access to rooms in a building in the real world.
ICEfaces includes a useful set of navigation menu components that can be combined to create simple but effective navigation menus, both statically and dynamically. In our first example, we will look at how to create a navigation menu with submenus in our JSF page.
The ICEfaces menu components support both a horizontal and a vertical orientation. Menus can be nested to create submenus, and menu items can be statically declared or dynamically bound to a backing bean property. In the following example, the product's menu item and its submenus are dynamically bound to a collection in our backing bean.
<ice:menuBar orientation="horizontal"> <ice:menuItem value="Home" /> <ice:menuItem value...