I would suggest not doing the propagate in the reset.   Just use it for the original 
values.   The values entered on the form are automatically propagated by struts after 
the reset by the setters and getters.   Just put in some logging or print statements 
in those methods and you will see when they are invoked.

-----Original Message-----
From: Bjorn T Johansen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 4:27 AM
To: [EMAIL PROTECTED]
Subject: Checkbox problem?


I use checkboxes to input some variables in a form and as long as I
insert new records, i.e. the checkbox variable gets set to false in the
form's reset method, it works fine.
But when I, say, edit the same record (and propagate the values of the
form in the reset method), I never can uncheck the checkbox if it was
set to true in the reset method.

Are there any solutions/work around for this?


Regards,

BTJ



-----------------------------------------------------------------------------------------------
Bjørn T Johansen (BSc,MNIF)
Executive Manager
[EMAIL PROTECTED]                  Havleik Consulting
Phone : +47 67 54 15 17         Conradisvei 4
Fax : +47 67 54 13 91           N-1338 Sandvika
Cellular : +47 926 93 298       http://www.havleik.no
-----------------------------------------------------------------------------------------------
"The stickers on the side of the box said "Supported Platforms: Windows
98, Windows NT 4.0,
Windows 2000 or better", so clearly Linux was a supported platform."
-----------------------------------------------------------------------------------------------


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