Jan 3rd, 2008, 06:01 AM
Cross-flow Global transitions?
I have a website built using numerous flows for the various parts of functionality required within the system. However, every screen has the same navigation bar. This navigation bar contains links which can be selected on any page from within any flow.
I know it is possible to make global transitions within a particular flow, but is it possible to have transitions that are global across all flows (that would exit the current flow and start a new one) without having to define them in each flow definition?
Navigation bars are common across most websites, so I thought this would be something provided within Spring webflow (or am I missing something?)
Thanks in advance for you help.
Jan 3rd, 2008, 07:21 AM
Jan 3rd, 2008, 07:45 AM
So, am I correct in saying that the only way to do this is to declare the transitions in every flow?
Jan 3rd, 2008, 08:29 AM
Sadly yes. Would love to hear of a better solution.
I would prefer that SWF not even need the GT for this situation and instead clean up the current flow (as if it had reached an end-state) and start the new flow if one exists or throw an exception if it doesn't.
Last edited by jamesclinton; Jan 3rd, 2008 at 08:33 AM.