Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-17 Thread Michael Jouravlev
Umm, no. I remember I did some experiments with action chaining with different scopes. I either defined forms for both actions or as a second option I did not define one of the forms. I do not remember were these forms with the same name or not. I cannot find the results. You might try it yourself

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-17 Thread Oleg
Michael, I tried that, however it seems to work only if actions are using same ActionForm if lets say each action uses its own form, the second action gets the form with its original values (from session) without any changes taken from the JSP page. Any ideas? Thanks Oleg On 11/16/05, Oleg <[EMAI

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-16 Thread Oleg
Hehe I see, but unfortunatelly its the only way I can see how to implement this kind of functionality. The only way to avoid chaining here would be to separate this one jsp page in two and have client input form in two different steps. Problem is that this is not what client wants :) so chaining it

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-15 Thread Michael Jouravlev
If I remember correctly, when you either forward or redirect from one action to another, Struts performs the reset/populate/validate sequence again. If you redirect, the request is empty, so nothing to populate and the form corresponding to second action is not updated. But if you forward from one

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-15 Thread Oleg
I read through the documentation and it seems like a nice add-on, however, I did not see any examples on submitting two action forms with one jsp page at the same time. Can you show me a code sample? Thanks Oleg On 11/15/05, Oleg <[EMAIL PROTECTED]> wrote: > Cool. I will check it out. Any other i

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-15 Thread Oleg
Cool. I will check it out. Any other ideas on how to do it without extra libraries, with just struts? Thanks, Oleg On 11/15/05, Danny Lee <[EMAIL PROTECTED]> wrote: > Yeap I had similar problem too, > perfectly solved with Struts Dialogs Framework. > > Just check this stuff out. > > http://struts

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-15 Thread Danny Lee
Yeap I had similar problem too, perfectly solved with Struts Dialogs Framework. Just check this stuff out. http://struts.sourceforge.net/strutsdialogs/ Cheers Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional