On Thu, 25 Jul 2002, Kamholz, Keith (corp-staff) USX wrote:
> Date: Thu, 25 Jul 2002 09:21:56 -0400
> From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: "Struts (E-mail)" <[EMAIL PROTECTED]>
> Subject: <html:checkbox>
>
> Hey everyone,
> I've just essentially finished my first struts application, and my boss
> doesn't like the fact that the boolean properties associated with checkboxes
> must be set to false when going to the form. He says that it's a pain in
> the ass to recheck the boxes every time the bean is edited. I agree with
> him. Is there any way to get around this issue? Possibly by modifying or
> extending the checkbox class? I don't know if anyone has tried anything
> like this, but any input would be greatly appreciated.
> Thanks!
>
In the reset() method of your form bean, set the corresponding boolean
properties to false.
> ~ Keith
> http://www.buffalo.edu/~kkamholz
>
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>