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 and internally must be able to return an entity from the string "suggestion" anything else ? Patrick ----- Original Message ----- From: Thomas Broyer To: [email protected] Sent: Tuesday, April 12, 2011 10:55 AM Subject: Re: SuggestBox in Editor It's hard to use a SuggestBox for anything else than a String value (believe me, we're struggling with it for weeks, regularly stumbling on a new edge case –well, we're asking our server for suggestions, and we need to dispatch ValueChangeEvents, so maybe it's a special use case–). If you can synchronously convert the String value into the type of value you need (and you don't need "accurate" value change events), then it should be quite easy: wrap the SuggestBox in a Composite, similarly to how ValueListBox wraps a ListBox. -- 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. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Aucun virus trouvé dans ce message. Analyse effectuée par AVG - www.avg.fr Version: 10.0.1209 / Base de données virale: 1500/3567 - Date: 11/04/2011 -- 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.
