RE: Checkbox deselect problem

2003-12-15 Thread Ravi Kulkarni
Hello Michael,

We need to handle checkboxes in special way. Reset method in FormBean is
exactly meant for this. We need to reset the checkboxes to its default
value.


Kulkarni.

-Original Message-
From: Frers Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 2:23 PM
To: Struts Users Mailing List
Subject: Checkbox deselect problem


Hello
i have a problem with the checkbox tag

i have a ActionForm Bean containg one value test

private class testBean extends ActionForm{

private String test;
//+ Getter and Setter

}

no i inserted in my jsp page:


now if i select the field the checkbox is marked as checked
but now if i deselect the checkbox again the checkbox always stays checked

in debug modus of my tomcatplugin the field always contains the value="on"

Someone can help me?



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



Checkbox deselect problem

2003-12-15 Thread Frers Michael
Hello
i have a problem with the checkbox tag

i have a ActionForm Bean containg one value test

private class testBean extends ActionForm{

private String test;
//+ Getter and Setter

}

no i inserted in my jsp page:


now if i select the field the checkbox is marked as checked
but now if i deselect the checkbox again the checkbox always stays checked

in debug modus of my tomcatplugin the field always contains the value="on"

Someone can help me?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]