[jboss-user] [JBoss Seam] - Programmatic arbitrary redirection inside pageflow

IGx89 do-not-reply at jboss.com
Wed Oct 17 17:45:06 EDT 2007


I have this:
	<start-state>
  | 		<transition to="next">
  | 			<action expression="#{someBean.someMethod}" />
  | 		</transition>
  | 	</start-state>
  | 
  | 	<page name="next" view-id="/next.xhtml">
  | 	</page>
  | 
  | 	<page name="message" view-id="/message.xhtml">
  | 	</page>

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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096296#4096296

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096296



More information about the jboss-user mailing list