Hello again,
I want to apply rendering rules to UI components based on the identity roles ?
for example
only render a UI component if the user has role A
only render a UI component if the user has role A or role B
only render a UI component if the user has role A and role B
I have tried the following
| rendered="#{authenticator.identity.hasRole('admin')}"
|
but I get this error when going to the page
/clientList.xhtml @44,175 rendered="#{authenticator.identity.hasRole('admin')}"
Error Parsing: #{authenticator.identity.hasRole('admin')}
is there someting to do with the scope of the authenticator ?
thank you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088743#4088743
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088743
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user