-
May 9th, 2009, 01:52 PM
#1
<form:checkbox/> how to have checked by default
I have List of objects of MyClass.
MyClass has "equals" method that works correct. Also in my controller I have CustomerCollectionEditor that coverts string value of object MyClass and returns object of MyClass.
So when I use this technology data submits and returns correctly List of elements according to view, but I have problem when validation don't pass in controller. This time some of checkboxes must be checked, but all are not checked.
I tried same with <form:select multiple="true"/> here all works perfect, but in case of checkboxes this don't work.
Could you support or give short example like mine?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules