Re: Primefaces Breadcrumb and pretty:

Splash Forums PrettyFaces Users Primefaces Breadcrumb and pretty: Re: Primefaces Breadcrumb and pretty:

#22941

You could use <pretty:urlbuffer> for this. It will create the pretty URL and make it accessible via an EL expression. Something like this:

<p:breadCrumb>

<pretty:urlbuffer var="url" mappingId="dashboard">
<p:menuitem value="Home" url="#{url}" />

<pretty:urlbuffer var="url" mappingId="userManagement">
<p:menuitem value="UserManagement" url="#{url}" />

....

</p:breadCrumb>

Could you try this? It doesn’t look very nice, but I think it will work.