Perhaps you can achieve this by creating a request scoped bean, say call it 'breadcrumbsBean' and then for each of your commandLink, add f:setPropertyActionListener.
so for example:
<h:commandLink action="/page1" value="page1"><f:setPropertyActionListener target="#{breadcrumbsBean.currentMenu" value="page1"/></h:commandLink>
also add
<h:inputHidden value="#{breadcrumbsBean.currentMenu}"/>, as well as some onload javascript to manage the hide and show.
Let me know your thoughts on this.
[Message sent by forum member 'dwuysan']
http://forums.java.net/jive/thread.jspa?messageID=481570