On Tuesday, April 12, 2011 3:08:25 PM UTC+2, coelho wrote: > > In fact in is an Entity but the SuggestBox should display a String from > (unique) so I'll have a try > > from what I've seen so far the widget must provide an asEditor method > > as well as getValue an setValue >
Actually, it has to implement LeafValueEditor<YourEntity> or IsEditor<LeafValueEditor<YourEntity>> (with the LeafValueEditor probably being a TakesValueEditor, your widget then implementing TakesValue) > and internally must be able to return an entity from the string > "suggestion" > > anything else ? > No, it really is that easy! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
