FYI: I'm using Geraldo solution above (minus the @Override statements), as it is much easier to integrate it with the UIBinder then the ValueListBox. Thanks Geraldo!
On Nov 15, 10:51 am, Craigo <craig...@gmail.com> wrote: > I'm also confused as to why ListBox wasn't updated to work with the > Editor. > > I can't see how ValueListBox would ever be able to take g:item, or > anything else, as it doesn't have a zero arg constructor, so it needs > @UiField(provided=true). > > The only way I've managed to give it values is in code, by calling > setAcceptableValues. > > On Nov 12, 10:40 pm, "Jerome C." <jerome.ca...@gmail.com> wrote: > > > > > > > > > I'm confused with thisValueListBox. > > > I don't understand differences between ListBox andValueListBox. > > > Moreover, why ListBox is not editable directly with Editor mechanism ? > > > I've got a ListBox working with uibinder but I can't make it work with > > Editor (because it does not implement Editor). > > I can't makeValueListBoxwork with uibinder. > > > How can we bindValueListBoxwith g:item in uibinder ? > > > Lot of questions but the new GWT editor feature is not very clear in > > documentation... > > > On 11 nov, 13:50, Geraldo Lopes <geraldo...@gmail.com> wrote: > > > > Thomas, > > > > Thanks for the information. That was my 1st shoot with Editor > > > framework. > > > > Regards, > > > > Geraldo > > > > On 11 nov, 10:35, Thomas Broyer <t.bro...@gmail.com> wrote: > > > > > On 10 nov, 14:42, Geraldo Lopes <geraldo...@gmail.com> wrote: > > > > > > will0, > > > > > > Thanks for the code piece. I used it to make an extension ofListBox. > > > > > > public class MyListBox extendsListBoximplements > > > > > LeafValueEditor<String> { > > > > > I think you basically > > > > reinventedValueListBox:http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g... > > > > > (and if you want to use a CellList, you can use ValuePicker) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.