Rép : Re: How to get SelectedObject from AjaxAutoComplete
Rép : Re: How to get SelectedObject from AjaxAutoComplete
- Subject: Rép : Re: How to get SelectedObject from AjaxAutoComplete
- From: Raymond NANEON <email@hidden>
- Date: Wed, 21 Sep 2011 13:47:53 +0000 (GMT)
Is the AutoComplete inside a form?
Yes It's inside a form.
Also, AjaxAutoComplete has both a value and a selection binding. You can use either of both.
The value take the selection.attribute but I want the selection Only which is an Object to get his pk.
here my WOD :
motClefsAutoComplete1 : AjaxAutoComplete {
id = "auto1";
list = session.matchMotcClefs;
value = session.motClefs;//Not this
item = session.motClefsRepetition;
displayString = session.motClefsRepetition.refidxval;
selection = session.selectedMotClefs;//I want this
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden