PDA

View Full Version : Yep, checkboxes again


splashout
May 1st, 2008, 10:07 PM
Hello, I'm using an AbstractFormWizard and am trying to use a series of form:checkbox tags bound to a java "Set" of objects. I am able to translate a checked checkbox to an object by registering a CustomEditor, but this translation only works one way.... when the user goes back to the page whether via a button or failed validation, the box is no longer checked (as it would be if bound to a Boolean).

I have searched the forums and found the only fix for this is to iterate through forEach loops. Given the nice features of the form: tags, my thought is that there must be a better way. Also, the documentaion in the Spring Reference pdf is a little light on these tags (esp. the attributes). Anyone know where some detailed documentation/examples might live?

Much thanks.