@swd847:
Thanks, anyway this sounds better than the current solution.

@Pete:
Thanks, that was exactly what i was looking for. I didn't even know that's 
possible!

For those who are interested and happy about a code snippet:
menuItems.xhtml
                        <rich:menuItem value="#{messages.menu_manage_persons}"
  |                             action="manage_persons"
  |                             rendered="#{s:hasRole('manage_persons')}" />
  | 
pages.xml
<page view-id="/*" login-required="true">
  |     <navigation>
  | ...
  |             <rule if-outcome="manage_persons">
  |                     <end-conversation />
  |                     <redirect 
view-id="/modules/manageCatalogs/persons/main.xhtml" />
  |             </rule>
  | ...
  |     </navigation>
  | </page>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092952#4092952

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092952
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to