1 Reply Latest reply on Nov 22, 2010 9:45 AM by sean.tozer

    Page Redirect NOT as a result of JSF Action

    shasho

      Hello,


      I am looking for a ways to do a page redirect NOT as a result of JSF Action. For example


      1.     When the page loads, in the following function



           
              @Begin(join=true)
           @Create
           public void initPage() 
           {
                If (somecondition) redirect to myPage.seam
           }
      




      2.     As a result of an error, build a custom error redirect, other that the error exceptions handling in pages.xml


      Any idea?


      Amir