Hi all,
im switched from IceFaces to RichFaces and im really miss component attribute, which allow you to not render component, when user has no current role. In IceFaces it is renderOnRole attribute. For example - renderOnRole="ROLE_ADMIN". This means component will be rendered for admin role only. Does exist something similiar for RichFaces? Do you know any possible solution? Any "role" component? Yes, and im using Acegi security (part of spring).
Hello,
New function will be available in 3.3.1: https://jira.jboss.org/jira/browse/RF-6551 so that you'll be able to use
<h:outputText rendered="#{rich:isUserInRole('user')}" value="user" />