[jboss-user] [JBoss Seam] - dynamic call to #{s:hasRole()}
mhissen
do-not-reply at jboss.com
Wed Nov 7 12:12:02 EST 2007
I want to secure my page Administration.xhtml. In Administration.page.xml file, I insert the tag:
<restrict> #{s:hasRole('admin')} </restrict>
I want to change this entry so it considers a static property like this :
<restrict>#{s:hasRole(loggedUser.role)}</restrict>
LoggedUser being an Outjected bean, but loggedUser.role is not interpreted ...
Any ideas?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102626#4102626
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102626
More information about the jboss-user
mailing list