Can anybody help me in this ? If struts checkbox tag is not checked what will be the value returned ? The mutator methods of the Form Bean is not getting invoked. Can I specify an unchecked value for this tag ? Regards
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
The problem is that the checkbox field is not submitted when it is not checked. As a workaround you can set the value of your checkbox to false in the reset method of the form. On the Struts FAQ page this workaround is explained in detail. You can find details here Olli