Here's a couple of pages.xml examples for logging in/out:
| <page view-id="/login.xhtml">
| <navigation from-action="#{identity.login}">
| <rule if-outcome="success">
| <redirect view-id="/mainpage.xhtml"/>
| </rule>
| </navigation>
| </page>
|
| <page view-id="*">
| <navigation from-action="#{identity.logout}">
| <redirect view-id="/mainpage.xhtml"/>
| </navigation>
| </page>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013354#4013354
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013354
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user