Take a look at Select2 developed by Ivan Vaynberg one of Wicket's contributors: http://ivaynberg.github.com/select2/
You should try out the "Loading Remote Data" and "Infinite Scroll with Remote Data" examples. Thanks Ivan for a great job! ~ Thank you, Paul Bors -----Original Message----- From: Gaetan Zoritchak [mailto:[email protected]] Sent: Wednesday, October 24, 2012 9:39 AM To: [email protected] Subject: Using AutocompleteTextField with database entries (without a converter) Hello, I don't know what is the best way of impleting that in Wicket That's my use case: - the user has to select a customer in a field of a form, - he starts to type some characters, - the list shows some possibilities based on a database request using the first and last names, the email, ... - then he selects one item in the list, - the field just shows few informations (Last Name for exemple). I don't want to use a converter because the data in the field could eventually match more than one entry in the database. I can give more context in the list to make the user be sure of his selection. When the selection is made, I can put a title so that on a mouse over event the user visualize the full information on the customer selection. The best solution would be to use the database id of the customer as a key during the selection phase. I don't know what is the best way of implementing this behaviour. Thanks a lot for any ideas, Gaetan, --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
