May 2015
Beginner to intermediate
412 pages
8h 44m
English
Breadcrumb is a navigation component that provides contextual information about the page hierarchy. It allows users to keep track of their locations within the workflow.
In this recipe, we will develop a simple breadcrumb with a handy configuration attribute.
The breadcrumb component is represented as the p:breadCrumb tag with nested menu items. We will use the same CDI bean as in the Statically and dynamically positioned menus recipe of this chapter. This is shown in the following code:
<p:breadCrumb> <p:menuitem value="PrimeFaces" url="http://primefaces.org"/> <p:menuitem value="jQuery" url="http://jquery.com"/> <p:menuitem value="Yahoo UI" url="http://yuilibrary.com"/> ...
Read now
Unlock full access