Hallo,
I know about the html-"feature" of submitting only checked boxes and the struts-solution to use the reset() in my FormBean, but I although have some problems:
My FormBean "userManagementForm" has a Set "allUsers" with Beans. These Beans have 2 properties: readingPermitted and writingPermitted. I access them in my
jsp via:
I prepolulate my checkboxes with values from my DB. This works great. These values are submitted correctly, but only these prepopulated values. If I check an unchecked checkbox, this one is not submitted. So I get always the checkbox-values that I used to prepopulate this form. The above happens if I don't implement the reset().
If I do implement the reset() and set all properties in all Beans to false and then debug my userManagementForm in the execute() of my UserManagementAction, it has only false-values for all properties.
Any suggestions what I'm doing wrong?
smo