1 Reply Latest reply on Mar 19, 2008 11:59 AM by pmuir

    Page action and navigation

    gonzalad

      I've a 404 error code when I have the folloging pages.xml fragment :


      <page view-id="/virtual/inexistant.jspx">
           <navigation>
                <render view-id="/sample1.jspx"/>
           </navigation>
      </page>



      /virtual/inexistant.jspx doesn't correspond to a real Jsf page. I want just to navigate to /sample1.jspx.


      When I change the previous fragment with :


      <page view-id="/virtual/inexistant.jspx">
           <action execute="#{helper.sayHello}"/>
           <navigation>
                <render view-id="/sample1.jspx"/>
           </navigation>
      </page>




      It works ! (I've Just added action element).


      Is it a bug or am I missing sthing ?


      Thanks