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?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
