RE: can't pass parameters

2003-08-28 Thread Kruse, Matt
The other comments are probably valid, but I thought I would note this: >onclick='document.forms[this.form].param.value="save" ; This should be: onclick='this.form.param.value="save";' Matt Kruse

RE: can't pass parameters

2003-08-28 Thread Mark Galbreath
Because the value of param is not passed in the Request object; it is passed in the Form object. Try: ActionForm myForm = ( ActionForm ) form; String sid = myForm.param; or DynaActionForm myForm = ( DynaActionForm ) form; String sid = myForm.get( "param" ); Mark -Original Message- Fro

RE: can't pass parameters

2003-08-28 Thread Slattery, Tim - BLS
> I can't pass parameters from javascript to Action Class. > My jS > > > onclick='document.forms[this.form].param.value="save" ; >document.forms[this.form].submit() ;' /> Use the struts tag

RE: can't pass parameters

2003-08-28 Thread Yee, Richard K,,DMDCWEST
Sergey, Change your HTML from to -Richard -Original Message- From: Sergey.Livanov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 10:21 AM To: [EMAIL PROTECTED] Subject: can't pass parameters I can't pass parameters from javascript to Action Class. My jS (