Hi I have a checkbox in a form. There are multiple checkboxes on this form and when the form is submitted these checkboxes are validated (not using annotations).
if not all checkboxes are checked then control is coming back to the same page with an error message. But even the checked checkboxes are unchecked when control comes back to this page because of error.
according to the struts2 ui documentation the value="" attribute should be used if something needs to be preselected but its not working for me.
in my action class I have getters and setter for privacy and formcheckBox
I'd appreciate any help.
Also struts2 is automatically making hidden tags like this