you'll need to do some customization, but you have the pieces with
ajaxformcomponentupdatingbehavior, ajaxsubmitbehavior, and the built-in
autocomplete.  Some combination of those will help you.

--
Jeremy Thomerson
http://www.wickettraining.com



On Mon, May 3, 2010 at 12:27 PM, Istvan Soos <istvan.s...@gmail.com> wrote:

> Hi,
>
> I've the following stripped down hierarchy:
>
> form wicket:id="form"
> |- input type="text" wicket:id="main"
> |- input type="text" wicket:id="description"
> |- input type="hidden" wicket:id="reference"
>
> I'd like the description field to work as an autocomplete field: when
> the users clicks into it, it might suggest descriptions from the
> server side list, based on the value of the 'main' field. If the user
> selects one description, the reference id should be stored in the
> hidden field. After that (or if there is no suggestion) the user is
> free to edit the description field as (s)he likes.
>
> In the same form, I have several of these fields, therefore I need
> some generic solution. Any ideas or similar solutions?
>
> Thanks and regards,
>   Istvan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to