Details
Description
The MultiiplePropertySelection component would be far more useful if the
selectedList property was a java.util.Collection rather than a java.util.List.
I've checked the source code and there's no reason that it needs to be a
java.util.List. In fact, I've converted it to use java.util.Collection (and
changed the property to "value" rather than "selectedList" - personal preference
there) and it all works perfectly.
This is important as the most widely used collection in Hibernate is
java.util.Set. In fact, the Hibernate team has explicitly said that they expect
Sets comprising the majority of Hibernate collections in most apps. If I had to
marshall/unmarshal my Sets into Lists every time I used a group of checkboxes...
yikes!