Typically, web applications have many screens and users navigate through the screens using various types of navigation menus. HTML has a very basic support for navigating through screens using hyperlinks or form submissions. Various JavaScript libraries provide a rich set of navigation components such as drop-down menus, pop-up menus, tabbed menus, and so on. PrimeFaces brings support for most of the rich navigation menu components to JSF-based applications.
PrimeFaces provides various navigation components such as Menu, TieredMenu, Menubar, MegaMenu, TabMenu, ContextMenu, Breadcrumb menu, and so on.
In this chapter we will cover:
Understanding MenuModel
Introducing the Menu component
Introducing the MenuButton component
Displaying multilevel nested menus using TieredMenu
Creating nested menus with SlideMenu
Creating a horizontal navigation menu using Menubar
Creating the multicolumn menu using MegaMenu
Creating tab-based menus using TabMenu
Introducing...