I have a GWT autocomplete new SuggestBox((new
MultiWordSuggestOracle());

For the default suggestions which appears before the user types any
prefix, there is a nice method

MultiWordSuggestOracle.setDefaultSuggestions(Collection<Suggestion>
suggestionList)

so I can pass a nice list of a Suggestion's which are displayed as
html (for example I can create FaceBook style autosuggest with two
lines displayed in each item but with a simple replacement text by
simply implementing the Suggestion interface).

But for suggestions that appear once the user starts typing, the only
method seems to be

 add(String suggestion)

where I cannot control how it is displayed at all.

Any ideas how I can create a Suggestion with separate (html) display
and (simple text) replacement  values for the auto-complete as I can
for the default?

Thx

Marc

-- 
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.

Reply via email to