Hi,
Is there a way to veto the transition in a page flow... e.g. in the case of some business rule failure ?
E.g.
the bean wizard.saveStuff adds a bunch of faces messages and returns to indicate a fail.
.. <page name="PageX" view-id="/pageX.xhtml"> <redirect/> <transition name="previous" to="PageY"/> <transition name="next" to="PageX"> <action expression="#{wizard.saveStuff}"/> </transition> </page>
I don't think you can optionally transition quite like that. A decision would be the best way to do it AFAICS.