When I look at the PrimeFaces ShowCase for
p:menu, it looks like the url attribute of p:menuItem component is designed to work with external URLs. In the showcase example, it has this:
1
2 <p:submenu label="Navigations">
3 <p:menuitem value="External" url="http://www.primefaces.org" icon="ui-icon-home"/>
4 <p:menuitem value="Internal" outcome="/mobile/index" icon="ui-icon-star"/>
5</p:submenu>
But XHTML the code that you provided is trying to use the url attribute in an "internal" kind of way, rather than an "external" way. So I would recommend that you use the outcome attribute instead, as the showcase demonstrates for the internal use-case.
Bitte melden Sie sich an, um diesen Inhalt als unangebracht zu kennzeichnen.