I'd like to redirect the user to a different page if certain condition is not correct.
I'm just wondering if the pages.xml is a right place to do it. I tried the following
but it doesn't work:
| <page view-id="/protectedPage.xhtml" login-required="true"
conversation-required="true">
| <navigation>
| <rule if="#{empty authenticationSessionId}">
| <redirect view-id="/authenticationPage.xhtml" />
| </rule>
| </navigation>
| </page>
|
I'd appreciate for any help given.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032598#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...