Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
SuggestBox with Facebook-style Autocomplete?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt Raible  
View profile  
 More options May 28 2009, 6:45 pm
From: Matt Raible <mrai...@gmail.com>
Date: Thu, 28 May 2009 15:45:15 -0700 (PDT)
Local: Thurs, May 28 2009 6:45 pm
Subject: SuggestBox with Facebook-style Autocomplete?
I'm looking for a GWT-based autocompleter that allows for a Facebook-
style presentation of the chosen item. I was able to get SuggestBox to
select multiple (comma-delimited) values using the following tutorial:

http://ljvjonok.blogspot.com/2008/10/gwt-suggestbox-how-to-make-multi...

However, to do formatting of the selected items, it seems like a <div>
structure needs to be used so the items can be formatted with CSS.
Since SelectBox only accepts a TextBoxBase in its constructor, I'm
guessing this is not possible out-of-the-box.

For a specific example of what I'm looking for, see the following
jQuery Plugin.

http://loopj.com/2009/04/25/jquery-plugin-tokenizing-autocomplete-tex...

Has anyone created such a widget for GWT?

Thanks,

Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Cole  
View profile  
 More options May 29 2009, 4:03 am
From: Joe Cole <profilercorporat...@gmail.com>
Date: Fri, 29 May 2009 01:03:27 -0700 (PDT)
Local: Fri, May 29 2009 4:03 am
Subject: Re: SuggestBox with Facebook-style Autocomplete?
Hi Matt,

We have one a similar thing for one of our applications, so it's
definitely possible. The left hand section of the suggest box provides
your highlighted search terms, and the right hand side provides
detailed preview information about the selected item, and is heavily
customised through css.

The general approach is to *unfortunately* copy and paste SuggestBox
and all it's related classes into your own package in the
com.google.gwt.user.client package, due to the package protected
nature of the existing api and final classes. You can then add all
your functionality desired into your custom version. We found that we
have to extend it in quite a few places to make it usable enough for
clients.
I know of one public enhanced suggestbox which is code.google.com/p/
kiyaa and you can look at the related commercial project
clarityaccounting which is quite impressive for a demo of how they
work.

I am not sure if the same information applies to 1.6 as we haven't
upgraded yet.

Joe
On May 29, 10:45 am, Matt Raible <mrai...@gmail.com> wrote:

> I'm looking for a GWT-based autocompleter that allows for a Facebook-
> style presentation of the chosen item. I was able to get SuggestBox to
> select multiple (comma-delimited) values using the following tutorial:

> http://ljvjonok.blogspot.com/2008/10/gwt-suggestbox-how-to-make-multi...

r> However, to do formatting of the selected items, it seems like a
<div>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Raible  
View profile  
 More options Jun 8 2009, 12:43 pm
From: Matt Raible <mrai...@gmail.com>
Date: Mon, 8 Jun 2009 09:43:31 -0700 (PDT)
Local: Mon, Jun 8 2009 12:43 pm
Subject: Re: SuggestBox with Facebook-style Autocomplete?
I ended up writing this widget on my own. Here's a detailed blog entry
on how I did it:

http://raibledesigns.com/rd/entry/creating_a_facebook_style_autocomplete

At the bottom of the post, you can see I still have one issue
remaining. I'm unable to give focus to an <li> and delete it with the
backspace key. If someone knows how to solve this, please let me know.

Thanks,

Matt

On May 29, 2:03 am, Joe Cole <profilercorporat...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »