[jboss-user] [JBoss Seam] - Problem in "pages.xml" file
mhissen
do-not-reply at jboss.com
Tue Sep 11 10:26:54 EDT 2007
Hello,
In my file ?pages.xml?, I have :
| <pages no-conversation-view-id="/home.xhtml"
| login-view-id="/login.xhtml">
|
| <page view-id="/login.xhtml">
| <navigation from-action="#{identity.login}">
| <rule if-outcome="loggedIn">
| <redirect view-id="/home.xhtml"/>
| </rule>
| </navigation>
| </page>
|
| <page view-id="*" login-required="true">
| <navigation from-action="#{identity.logout}">
| <redirect view-id="/login.xhtml" />
| </navigation>
| </page>
| ... ...
| <exception class="org.jboss.seam.security.NotLoggedInException">
| <redirect view-id="/login.xhtml">
| <message>Please log in first</message>
| </redirect>
| </exception>
| ... ...
| </pages>
|
At the time of the first authentification, the navigator sends an error of redirection, but I don't have exception corresponding to this error...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083049#4083049
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083049
More information about the jboss-user
mailing list