Re: Submit a struts form using javascript

2008-07-15 Thread Lukasz Lenart
> I am trying to submit two forms at once. Khe? As I know, it isn't possible. If you send them to the same action, just use one form for all the fields. If you send them to separated actions (different action attribute), you have to made two request at the same time, but there isn't something like

Re: Submit a struts form using javascript

2008-07-15 Thread Dave Newton
--- On Tue, 7/15/08, rapsy <[EMAIL PROTECTED]> wrote: > I am trying to submit two forms at once. Is that even possible? I guess I don't really see how that would work. Not sure why you'd try to do that in the first place, but you'd probably have better luck (a) using a single form, or (b) copyi

Re: Submit a struts form using javascript

2008-07-15 Thread rapsy
Lukasz > http://www.lenart.org.pl/ > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/S

Re: Submit a struts form using javascript

2008-07-15 Thread Lukasz Lenart
> I am using struts 1.1 and having problem submitting first form from inside > the second form. > What happens when the first form is submitted from the second form using > javascript? Does it call the 'execute" method of first form? I don't understand exactly what you mean, when you talk about "i

Submit a struts form using javascript

2008-07-15 Thread rapsy
t;firstForm" is a struts form and it not getting submitted. The values are getting lost. The weird thing is works on my local machine but when I deploy on production server it doesn't work. Any help is greatly appreciated. Thank you! -- View this message in context: http://www.nabble