|
From: Will B. <wil...@ra...> - 2005-04-11 18:24:48
|
Is it possible to use a "forward:..." in an end state to halt execution of one flow and start another? When the request is made to the first flow to make the transition to the end state, its flow id has been placed in the request parameters. This is necessary, of course, to look up the first flow. When the forward occurs, the flow id from the first flow is still in the request. The flow execution manager then tries to look up the second flow using the first flow's id, which fails miserably. Is this something that just cannot be done, or is there a workaround that I could try? Thanks! Will |
|
From: Erwin V. <erw...@er...> - 2005-04-11 19:07:55
|
You can't do it with a forward because of the problem you describe, but it is possible with a "redirect:..". If you want to pass parameters to the launching flow, pass them as request parameters (not attributes since you're redirecting). Erwin Vervaet erw...@er... ----- Original Message ----- From: "Will Butler" <wil...@ra...> To: <spr...@li...> Sent: Monday, April 11, 2005 8:24 PM Subject: [Springframework-developer] Web Flow: forwarding to another flow... > Is it possible to use a "forward:..." in an end state to halt execution > of one flow and start another? When the request is made to the first > flow to make the transition to the end state, its flow id has been > placed in the request parameters. This is necessary, of course, to look > up the first flow. When the forward occurs, the flow id from the first > flow is still in the request. The flow execution manager then tries to > look up the second flow using the first flow's id, which fails > miserably. Is this something that just cannot be done, or is there a > workaround that I could try? > > Thanks! > > Will > > > ------------------------------------------------------- > 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 > > |
|
From: Will B. <wil...@ra...> - 2005-04-11 19:20:39
|
I thought of trying this, but how is it possible to add dynamic request parameters to the view string if it is set in the builder? We really need the request parameters to be populated while the flow is executing. Thanks, Will On Mon, 2005-04-11 at 21:09 +0200, Erwin Vervaet wrote: > You can't do it with a forward because of the problem you describe, but it > is possible with a "redirect:..". If you want to pass parameters to the > launching flow, pass them as request parameters (not attributes since you're > redirecting). > > Erwin Vervaet > erw...@er... > ----- Original Message ----- > From: "Will Butler" <wil...@ra...> > To: <spr...@li...> > Sent: Monday, April 11, 2005 8:24 PM > Subject: [Springframework-developer] Web Flow: forwarding to another flow... > > > > Is it possible to use a "forward:..." in an end state to halt execution > > of one flow and start another? When the request is made to the first > > flow to make the transition to the end state, its flow id has been > > placed in the request parameters. This is necessary, of course, to look > > up the first flow. When the forward occurs, the flow id from the first > > flow is still in the request. The flow execution manager then tries to > > look up the second flow using the first flow's id, which fails > > miserably. Is this something that just cannot be done, or is there a > > workaround that I could try? > > > > Thanks! > > > > Will > > > > > > ------------------------------------------------------- > > 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 > > > > > > > > ------------------------------------------------------- > 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 |
|
From: Dmitriy K. <dko...@ru...> - 2005-04-11 19:26:21
|
Erwin, do you have any examples of redirecting from one flow to another...? Dmitriy. Erwin Vervaet wrote: > You can't do it with a forward because of the problem you describe, > but it is possible with a "redirect:..". If you want to pass > parameters to the launching flow, pass them as request parameters (not > attributes since you're redirecting). > > Erwin Vervaet > erw...@er... > ----- Original Message ----- From: "Will Butler" > <wil...@ra...> > To: <spr...@li...> > Sent: Monday, April 11, 2005 8:24 PM > Subject: [Springframework-developer] Web Flow: forwarding to another > flow... > > >> Is it possible to use a "forward:..." in an end state to halt execution >> of one flow and start another? When the request is made to the first >> flow to make the transition to the end state, its flow id has been >> placed in the request parameters. This is necessary, of course, to look >> up the first flow. When the forward occurs, the flow id from the first >> flow is still in the request. The flow execution manager then tries to >> look up the second flow using the first flow's id, which fails >> miserably. Is this something that just cannot be done, or is there a >> workaround that I could try? >> >> Thanks! >> >> Will >> >> >> ------------------------------------------------------- >> 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 >> >> > > > > ------------------------------------------------------- > 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 |
|
From: Erwin V. <erw...@er...> - 2005-04-16 08:54:59
|
We do now! :-) Actually there was a bug in the Preview 2 release that was causing problems. That's fixed now and I've added a "Flow Launcher" sample application that demonstrates launching flows with input parameters: as stand-alone flow, as subflow or from and end state of another flow. Erwin Vervaet erw...@er... ----- Original Message ----- From: "Dmitriy Kopylenko" <dko...@ru...> To: <spr...@li...> Sent: Monday, April 11, 2005 9:25 PM Subject: Re: [Springframework-developer] Web Flow: forwarding to another flow... > Erwin, > > do you have any examples of redirecting from one flow to another...? > > Dmitriy. > > Erwin Vervaet wrote: > >> You can't do it with a forward because of the problem you describe, but >> it is possible with a "redirect:..". If you want to pass parameters to >> the launching flow, pass them as request parameters (not attributes since >> you're redirecting). >> >> Erwin Vervaet >> erw...@er... >> ----- Original Message ----- From: "Will Butler" >> <wil...@ra...> >> To: <spr...@li...> >> Sent: Monday, April 11, 2005 8:24 PM >> Subject: [Springframework-developer] Web Flow: forwarding to another >> flow... >> >> >>> Is it possible to use a "forward:..." in an end state to halt execution >>> of one flow and start another? When the request is made to the first >>> flow to make the transition to the end state, its flow id has been >>> placed in the request parameters. This is necessary, of course, to look >>> up the first flow. When the forward occurs, the flow id from the first >>> flow is still in the request. The flow execution manager then tries to >>> look up the second flow using the first flow's id, which fails >>> miserably. Is this something that just cannot be done, or is there a >>> workaround that I could try? >>> >>> Thanks! >>> >>> Will >>> >>> >>> ------------------------------------------------------- >>> 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 >>> >>> >> >> >> >> ------------------------------------------------------- >> 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 > > > > > ------------------------------------------------------- > 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 > > |