we've recently started using the p:menubar dynamically:
Code: Select all
<p:menubar id="menubar" autoSubmenuDisplay="true" model="#{menuBean.model}"/>
The problem is when a page follows JSF navigation rules without the "<redirect/>" specification (so using a server forward).
When showing that forwarded page (often an ok message from a submitted form), the menubar has turned empty.
A quick look shows that the getModel() of my bean is not called in these cases.
Is this a bug or can I work around this problem?
Thanks,
Steven