sure about that? did you try it?
I'm using the Palette component exactly that way (also backed with a Set)
and it just works
regards,
Michael
Gohan wrote:
>
> Hi,
>
> Is there a good way to add an element to a collection using a
> PropertyModel? What I'd like to do is this:
> ..
> form.add(new DefaultValueDropDownChoice("id, new PropertyModel(model,
> "categories"), jobTypes));
> ..
>
> This obviously doesn't work since "categories" is mapped to a
> java.util.Set.
>
> /Johan
>
-----
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/PropertyModel-that-add-read-element-from-collection-tp21432582p21432878.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]