Re: Passing parameters between chained actions.

2006-06-07 Thread Scott Van Wart
Michael Jouravlev wrote: The best way to avoid these problems is not to chain actions ;-) That was a great response, thank you. Just the kind of info I need (best practices type hints as opposed to "here's what the docs say...") :). I still like the idea of chaining actions together, as it ma

Re: Passing parameters between chained actions.

2006-06-07 Thread Michael Jouravlev
Whenever you call an action via action mapping, the standard create/reset/populate/validate sequence is fired. You can avoid it by not associating OtherForm with OtherAction, but in this case Struts will not automatically populate OtherForm if you submit request from browser to OtherAction. Since

Passing parameters between chained actions.

2006-06-07 Thread Scott Van Wart
Hi All, I'm having trouble forwarding one action to another and sending properties on through. Let's say I have two actions, "SomeAction" and "SomeOtherAction", and two form beans, "SomeForm" (with property "someProp") and "SomeOtherForm" (with property "someOtherProp"). If I want one actio