Thanks a lot. I followed the approach of extending SuggestOracle and delegating the requestSuggestions to MultiWordSuggestOracle. It seems to be working fine.
On Oct 29, 8:47 am, Isaac Truett <[email protected]> wrote: > As Thomas said, you'll need to write a SuggestOracle that returns an > empty list of suggestions for queries shorter than x characters. And I > wanted to add: if you want to keep the functionality of the > MultiWordSuggestOracle then you can have your oracle delegate to a > MuliWordSuggestOracle instance for queries that are long enough. As I > recall MultiWordSuggestOracle is not amenable to subclassing, and > composition is a better strategy anyway. > > On Thu, Oct 29, 2009 at 5:27 AM, Thomas Broyer <[email protected]> wrote: > > > On 28 oct, 21:46, kss <[email protected]> wrote: > >> I am using the gwtsuggestboxcurrently as a typeahead text box to > >> display suggestions from MultiSuggestOracle. Now I need a way to > >> enable thesuggestboxto appear only after a fixed set of characters > >> are entered in the text box. Is there a way to do this ? Any > >> suggestions. > > > Have your SuggestOracle return an empty response until the query is > > "long enough" ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
