MultiWordSuggestOracle with multiple values?

131 views
Skip to first unread message

membersound

unread,
Mar 5, 2013, 9:22:03 AM3/5/13
to google-we...@googlegroups.com
Hi,

is the MultiWordSuggestOracle prepared to somehow being able to display not only one value, but eg a comma separated list of elements chosen fomr the suggest dropdown (facebook like)?
Or would I have to extend this on my own?

Andrea Boscolo

unread,
Mar 5, 2013, 9:41:55 AM3/5/13
to google-we...@googlegroups.com
Something like... http://raibledesigns.com/rd/entry/creating_a_facebook_style_autocomplete ?
I guess you simply have to define you own SuggestionDisplay and when you select an entry, add an inline label styled as you want just before the suggestbox.

Mathieu Lorber

unread,
Mar 5, 2013, 10:19:15 AM3/5/13
to google-we...@googlegroups.com
[re-post but first is lost in space ?]

If you want a facebook-like autocomplete (not sure to understand your initial need), you should not modify your existing Oracle nor extend the SuggestionDisplay. You have to extend the TextBox. And modify the SuggestionHandler probably. Good news, it's way simpler.

Kody

unread,
Mar 6, 2013, 5:25:17 AM3/6/13
to google-we...@googlegroups.com
Thanks, the raibledesigns think look exactly what I was looking for.


2013/3/5 Mathieu Lorber <mathieu...@gmail.com>
--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/Z9v5n1CdZCw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ümit Seren

unread,
Mar 6, 2013, 10:00:23 AM3/6/13
to google-we...@googlegroups.com
alternatively you could also look into gwtchosen (https://github.com/jDramaix/gwtchosen)


On Wednesday, March 6, 2013 11:25:17 AM UTC+1, membersound wrote:
Thanks, the raibledesigns think look exactly what I was looking for.


2013/3/5 Mathieu Lorber <mathieu...@gmail.com>
[re-post but first is lost in space ?]

If you want a facebook-like autocomplete (not sure to understand your initial need), you should not modify your existing Oracle nor extend the SuggestionDisplay. You have to extend the TextBox. And modify the SuggestionHandler probably. Good news, it's way simpler.

On Tuesday, March 5, 2013 3:41:55 PM UTC+1, Andrea Boscolo wrote:
Something like... http://raibledesigns.com/rd/entry/creating_a_facebook_style_autocomplete ?
I guess you simply have to define you own SuggestionDisplay and when you select an entry, add an inline label styled as you want just before the suggestbox.

On Tuesday, March 5, 2013 3:22:03 PM UTC+1, membersound wrote:
Hi,

is the MultiWordSuggestOracle prepared to somehow being able to display not only one value, but eg a comma separated list of elements chosen fomr the suggest dropdown (facebook like)?
Or would I have to extend this on my own?

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/Z9v5n1CdZCw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages