[jboss-user] [JBoss Seam] - pages.xml question
nayanj
do-not-reply at jboss.com
Mon Sep 10 17:31:25 EDT 2007
I need to redirect users to a specific page if an attribute in session is true. It does not matter what link the user clicks.. I wrote the following rule but it does not seem to work:
| <page view-id="*">
| <navigation>
| <rule if="#{identity.loggedIn and user.myattribute}">
| <begin-conversation join="true"/>
| <redirect view-id="/mypage.xhtml"/>
| </rule>
| </navigation>
| </page>
|
Can anyone suggest how this should be done?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082787#4082787
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082787
More information about the jboss-user
mailing list