It depends on the widget you intend to use for display. Given that ListBox has no notion of "value" other than a bare String, I'd rather go with CellList or CellTable (but if Strings are OK, then just use a ListBox). The easiest would then be to use a LeafValueEditor<Set<MyValue>> wrapping the SelectionModel; similar actually to the ValuePicker. We've actually implemented just that a few days ago in a proto.
On Thursday, July 19, 2012 3:16:40 PM UTC+2, Alex opn wrote: > > Hello all, > > I tried to implement a "MultiSelectValueListBox" based on the > ValueListBox<http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/ValueListBox.html>but > I did not come far. Not even worth posting my messy code here :) > > I hope anyone has done this already and can help me out on how to start or > give some ideas how to approach this. I quickly ran out of ideas. > > I am wondering why this is not shipped with the Editor Framework anyway > and why no one seems to need this functionality? Googled a bit and only > found one question on Stackoverflow regarding this. [1] > > [1] GWT ValueListBox: can it support more than a single > selection?<http://stackoverflow.com/questions/5108192/gwt-valuelistbox-can-it-support-more-than-a-single-selection> > > Regards > Alex > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/_1r0Vx1rQR4J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
