Wednesday, October 23, 2013

SuggestBox - return single word suggest

Hi,
I guess this is quite simple, but I cannot find out how to do it. I have implemented a suggest box as this:

MultiWordSuggestOracle oracle = new MultiWordSuggestOracle();
SuggestBox box = new SuggestBox(oracle);

The suggestBox is populated with street addresses. Each address contains several word, but I want the suggestbox only show items starting with the the typed letters, and not all items where any of the words starts with the suggest.  How can I do this?

Thank you for any help.

Jostein

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment