RE: Problem with html:checkbox

2004-04-21 Thread Rajani
Hi, The problem is, when the checkbox is unchecked, the value passed is null and not false. So in the action class you should check if the form bean checbox property is null...then set it to false explicitly. Regards Rajani -Original Message- From: Marc L. Veary [mailto:[EMAIL PROTECTED]

RE: Problem with html:checkbox

2004-04-21 Thread Takhar, Sandeep
: Wednesday, April 21, 2004 4:51 AM To: 'Struts Users Mailing List' Subject: RE: Problem with html:checkbox Brilliant. Thanks for the help. Kind regards, -- Marc -Original Message- From: Rajani [mailto:[EMAIL PROTECTED] Sent: 21 April 2004 09:43 To: Struts Users Mailing List; [EMAIL

RE: Problem with html:checkbox

2004-04-21 Thread Guillermo Meyer
: Takhar, Sandeep [mailto:[EMAIL PROTECTED] Sent: MiƩrcoles, 21 de Abril de 2004 09:11 a.m. To: Struts Users Mailing List Subject: RE: Problem with html:checkbox Hmmm... That is interesting because I was always under the assumption that the setter is never called when there is no value

RE: Problem with html:checkbox

2004-04-21 Thread Takhar, Sandeep
- From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] Sent: MiƩrcoles, 21 de Abril de 2004 09:11 a.m. To: Struts Users Mailing List Subject: RE: Problem with html:checkbox Hmmm... That is interesting because I was always under the assumption that the setter is never called when there is no value

RE: Problem with html:checkbox

2004-04-21 Thread Marc L. Veary
' the form to the original values. Kind regards, -- Marc -Original Message- From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] Sent: 21 April 2004 14:29 To: Struts Users Mailing List Subject: RE: Problem with html:checkbox I think reset because you may change validation at some point