0 Replies Latest reply on Sep 11, 2007 10:26 AM by mhissen

    Problem in "pages.xml" file

    mhissen

      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...