"[EMAIL PROTECTED]" wrote : The best option is:
|
| <rule if="#{identity.loggedIn}">
|
| No need for any special changes to Identity.
What should the behavior be for this:
| <page view-id="/home.xhtml">
| <navigation>
| <rule if="#{identity.loggedIn}">
| <redirect view-id="/main.xhtml"/>
| </rule>
| </navigation>
| </page>
|
I copied this from the pages.xml of the booking example.
After I log in from home.seam, I get taken to main.seam. This is to be
expected. When I explicitly go back to home.seam, should it redirect me again
to main.seam? The current behavior I am getting is that it just sits there at
home.seam. Logging in again of course works and takes me appropriately to
main.seam.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029361#4029361
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029361
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user