2 Replies Latest reply on Jan 18, 2008 5:26 AM by nhpvti

    Page Navigation Problem

      hi all,
      i have page navigation from login page.xhtml to /inbox/maillist.xhtml but it does not working, because i have maillist.xhtml into inbox folder, if i move this page into root directory it works,, is there any specific configuration ?????

      my example code :
      1. login.page.xml

      <page>
       <navigation from-action="#{identity.login}">
       <rule if="#{identity.loggedIn}">
       <redirect view-id="/inbox/maillist.xhtml"/>
       </rule>
       </navigation>
      </page>
      


      if i change maillist path it works :( , i want create pages into different folders, but it does not working :(


        • 1. Re: Page Navigation Problem

          is problem with faceltes or seam ?

          • 2. Re: Page Navigation Problem
            nhpvti

             

            "grdzeli_kaci" wrote:
            hi all,
            i have page navigation from login page.xhtml to /inbox/maillist.xhtml but it does not working, because i have maillist.xhtml into inbox folder, if i move this page into root directory it works,, is there any specific configuration ?????

            my example code :
            1. login.page.xml
            <page>
             <navigation from-action="#{identity.login}">
             <rule if="#{identity.loggedIn}">
             <redirect view-id="/inbox/maillist.xhtml"/>
             </rule>
             </navigation>
            </page>
            


            if i change maillist path it works :( , i want create pages into different folders, but it does not working :(


            I suppose maillist.xhtml uses a template, something like

            <ui:composition template="layout/template.xhtml">


            You have to change it so:

            <ui:composition template="/layout/template.xhtml">