You should maintain a hiddne variable which will store previous value and if
it is not valid
then set Your original value and return error back to user with selected
Comobo box.

I think it should work..

-----Original Message-----
From: Khalid K. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 9:31 PM
To: Struts Users Mailing List
Subject: (help!!! plz!!) Select Box and validation (repost)



Any suggestion? please??? :)

I am submitting a form using "onchange" javascript even handler w/
<html:select></html:select> tag.  This works fine until I turn on
VALIDATION,
If validation is set to true, and there are any validation errors, when
the page is displayed w/ the validation errors, the value of the SELECT box
has already changed ??
Which causes the cline to see errors messages for the 'wrong' displayed
item.
any ideas??
Thanks,

using struts 1.0.2/webshere env.



---------------------------------------------------------------------
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