>From my experience (and from this posting) this code does not work on the
>frontend. The documentation is incorrect.
Allows JSF pages to choose to render a control, depending upon the roles
available to the current principal. <h:commandButton value="edit"
rendered="#{isUserInRole['admin']}"/>.
you have to use (this does works)
rendered="#{s:hasRole('admin')}"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037720#4037720
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037720
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user