You need to set it to false in the reset() method.

James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

"If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?"
- Seymour Cray (1925-1996), father of supercomputing


> -----Original Message-----
> From: Saini, Deepank [mailto:deepank.saini@;cgey.com]
> Sent: Monday, November 11, 2002 8:33 AM
> To: 'Struts Users Mailing List'
> Subject: RE: checkbox problem
>
>
> may u need to reset the value of the checkbox to (false or true) in the
> reset method of ur formbean
>
> -----Original Message-----
> From: Hirschmann, Bernhard [mailto:Bernhard.Hirschmann@;t-systems.com]
> Sent: Monday, November 11, 2002 7:00 PM
> To: '[EMAIL PROTECTED]'
> Subject: checkbox problem
>
>
>
> Hello Struts user!
>
> I use a html:checkbox for setting a boolean value. But after submit, the
> boolean value in the form bean isn't set correctly.
>
> Do I have to use a String value for that in my form bean? I tried
> this, but
> without success.
>
> Regards,
> Bernhard
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
>
> ____________________________________________________
> This message contains information that may be privileged or
> confidential and
> is the property of the Cap Gemini Ernst & Young Group. It is intended only
> for the person to whom it is addressed. If you are not the intended
> recipient, you are not authorised to read, print, retain, copy,
> disseminate,
> distribute, or use this message or any part thereof. If you receive this
> message in error, please notify the sender immediately and delete
> all copies
> of this message.
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to