1 2 Previous Next 15 Replies Latest reply on Nov 29, 2007 5:22 PM by Matthew Lieder

    Programmatic arbitrary redirection inside pageflow

    Matthew Lieder Apprentice

      I have this:

       <transition to="next">
       <action expression="#{someBean.someMethod}" />
       <page name="next" view-id="/next.xhtml">
       <page name="message" view-id="/message.xhtml">

      And in someBean.someMethod, I want to cause the flow to go to the "message" page instead of the "next" page. Is that possible? I've tried both Pageflow.instance().reposition("message") and FacesManager.instance().redirect("/message.xhtml"), neither with any luck.

        1 2 Previous Next