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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...