Set a hidden field that will update your form

...
<html:hidden property="whichOne"/>
...
...
<html:select ..... onchange="<%="whichOne=" + someId +
";submitForm()"%>">
...
...

--
James Mitchell
Web Developer/Struts Evangelist
http://www.microsoft.com/struts/



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 27, 2003 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: [Q] any ways to know which control was changed in 
> Action class?
> 
> 
> Hello,
> 
> the JSP has several drop downs, each one has "onchange=submit()"
> 
> how I can know which one was changed in my Action class?
> 
> tnx
> 
> Best Regards.
> Michael.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to