|
From: Keith D. <ke...@in...> - 2005-03-28 23:13:34
|
Hmm.... Erwin and I were discussin the other day whether or not we needed flow state/event history. Seems like if we had it, that might be a better solution to your problem. Can you describe the use case for what you're trying to do, just to get some more background? -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of Will Butler Sent: Monday, March 28, 2005 5:40 PM To: spr...@li... Subject: [Springframework-developer] Web Flow - Complex State Transitions How should you do this in web flow? formState --(eventA, eventB, eventC)--> state1 ----> state2 --(?)--> We have a form that can submit three separate events (eventA, eventB, and eventC). In the web flow, we want all three events to go to state1, then state2, then branch to another state based on the event fired from formState. formState --(eventA)--> subFlowState1 --(eventX)--> formState --(eventB)--> subFlowState2 --(eventY)--> formState --(eventC)--> subFlowState3 --(eventZ)--> Right now, we have resorted to creating a subFlow that contains state1 and state2 and then defining three separate subFlow states (subFlowState1, subFlowState2, and subFlowState3) in the parent flow using the same subFlow definition with different transitions. Because we have several cases like this, the number of subFlows required is getting a little unwieldy. Anyone else have any suggestions as to how we could do this in a better way? Thanks, Will Butler ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |