[jboss-user] [JBoss Seam] - Re: Redirect based on identity-roles
norman.richards@jboss.com
do-not-reply at jboss.com
Thu Aug 2 13:17:20 EDT 2007
The DVDStore does something like that:
| <navigation from-action="#{identity.login}">
| <rule if="#{currentUser.admin}">
| <redirect view-id="/admin/admin.xhtml"/>
| </rule>
| </navigation>
|
I should probably update that rule to be #{s:hasRole('admin')}, but it's the same thing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070214#4070214
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070214
More information about the jboss-user
mailing list