Hi,

you might want to have a look at wicketstuff-objectautocomplete which
exactly adresses this scenario. It's not released though (and there are some
changes in the pipeline so that it plays a smarter role when used within a
form), but should work. The code is available via
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-objectautocomplete
. Look at the exampes for how to use it.

... roland
 

ulrik wrote:
> 
> Hello!
> 
> I have a question that I hope someone can help me with.
> 
> Lets say I have two classes like the ones here:
> http://papernapkin.org/pastebin/view/1760/ . 
> Lets say I want a page with a AutoCompleteTextField where I can search
> students by entering their name in the search field. Because there can be
> several students with the same name I want to be able to separate one from
> the other when I choose one of them from the list of choices. So, what I
> want to happen is that when I for example enter "Ad" into the search
> field, I want the search field to show A list with all students whos name
> is Adam, when I select one of them I want the ID for that specific adam to
> be stored in the Model associated with the search field. How do I do that?
> Anyone that has an idea? 
> 

-- 
View this message in context: 
http://www.nabble.com/AutocompleteTextField-tp18523765p18526927.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to