I wrote that autocomplete compoinent, and it's not too fancy.  if you
have a different usecase, i suggest writing your own component for
what you need it to do.  scriptaculous makes the ajax stuff pretty
easy, and wicket makes the rest a snap.

On 3/3/06, Mats Norén <[EMAIL PROTECTED]> wrote:
> Hi,
> I've been trying to use the CustomLayoutAjaxAutocompleteTextField from
> wicket-contrib-scriptaculous. Everything works as expected but for my
> usecase it doesn't quite fit. I was wondering how I could achieve the
> following:
>
> What I want to do is to let the user search for a Party by full name
> so when the user
> writes "mats" the textfield displays a list with Party-objects with
> the full name "mats". When I select one in a list the textfield is
> populated with the name of the Party. So far so good. But apart from
> that I would like to set a hidden field with the *id* of the party.
> This hidden field is what I want to save in the database on form
> submit.
>
> Has anyone else tried something similar?
>
> /Mats
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to