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
I am trying to submit two forms at once. The first form is being submitted by "onclick" event which calls javascript form.submit() and the second form is submitted by submit button itself when it is clicked. The first form submission is failing i.e when I try to retrieve the values of the first

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