Hi,
i am doing a basic security requirement that some pages in the project should only be
displayed to certain users with certain login roles.
In my xhtml code, for example:
<s:div id=1 rendered="#{s:hasRole('guest')>
...
</s:div>
<s:div id=2 rendered="#{s:hasRole('user')>
...
</s:div>
<s:div id=3 rendered="#{s:hasRole('admin')}">
...
</s:div>
Where could i define that admin can display all 3 divs where user can display the first
two and guest can only view the first div?
The problem is currently the user that login to my system can only see one div(depends on
which role he is signed in).
Cheers!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081326#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...