Re: Submitting forms with javascript in struts [*]

2006-09-13 Thread Andreas . Hartmann
Hello! Unfortunately the last posted solution didn't work either. That's why I'm using another way now to get the form submitted via href and javascript. The javascript function calls the existing submit-button and does a click: document.myform.target="mytarget"; document.myform.myproperty.value=

RE: Submitting forms with javascript in struts

2006-09-12 Thread Raghuveer
for "document.formname.value" to be worked you need to use mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 4:50 PM To: user@struts.apache.org Subject: Submitting forms with javascript in struts Hello, I do have a problem, because I don't know how to submit a form with javascript in s

RE: Submitting forms with javascript in struts

2006-09-12 Thread Ray Madigan
I'm confused here. Is it your intent to pass a variable 'what' from your form to the action? I think the problem is that you need to assign the value what to a hidden element then in your java script assign the value to the value of the hidden element document.form.cpKey.value = what; then i

Re: Submitting forms with javascript in struts [*]

2006-09-12 Thread Puneet Lakhina
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On 9/12/06, puneet.lakhina wrote: >>On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> On 9/12/06, puneet.lakhina wrote: >> > >> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: > >>> > >>> > >>> Hello, > >>> > >>> I

Re: Submitting forms with javascript in struts [*]

2006-09-12 Thread Andreas . Hartmann
On 9/12/06, puneet.lakhina wrote: >>On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> On 9/12/06, puneet.lakhina wrote: >> > >> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> Hello, > >>> > >>> I do have a problem, because I don't know how to submit a form

Re: Re: Submitting forms with javascript in struts [*]

2006-09-12 Thread Puneet Lakhina
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On 9/12/06, puneet.lakhina wrote: > On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> Hello, >> >> I do have a problem, because I don't know how to submit a form with >> javascript >> in struts. >> >> Normally, I'm submit

Antwort: Re: Submitting forms with javascript in struts [*]

2006-09-12 Thread Andreas . Hartmann
On 9/12/06, puneet.lakhina wrote: > On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> Hello, >> >> I do have a problem, because I don't know how to submit a form with >> javascript >> in struts. >> >> Normally, I'm submitting forms like this: >> >> >> >> >> >> I'm receiving the

Re: Submitting forms with javascript in struts

2006-09-12 Thread Puneet Lakhina
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, I do have a problem, because I don't know how to submit a form with javascript in struts. Normally, I'm submitting forms like this: I'm receiving the value with the getter-method getMyvalue() of the appropriate ActionForm.