Try the following change:
|
| <?xml version="1.0" encoding="UTF-8"?>
| <page
xmlns="http://jboss.com/products/seam/pages"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://jboss.com/products/seam/pages
http://jboss.com/products/seam/pages-2.0.xsd"
| login-required="false"
action="#{userAuthenticator.checkLogin}">
|
| <navigation from-action="#{userAuthenticator.checkLogin}">
| <rule if="#{identity.loggedIn}">
| <redirect view-id="/dashboard1234.xhtml"/>
| </rule>
| </navigation>
|
| <navigation from-action="#{identity.logout}">
| <redirect view-id="/login.xhtml" />
| </navigation>
|
| <navigation from-action="#{identity.login}">
| <rule if="#{identity.loggedIn}">
| <redirect view-id="/dashboard.xhtml"/>
| </rule>
| </navigation>
|
| </page>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125184#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...