Hey
I use this auto-complete field as a searcher to fill my list view
I used the same class but I have a little problem with it ... I don't
understand where to call method findChoice() so I added behavior to this
search field like this:
this.autocompleteSearchField.add(
or you can use this one-
http://cwiki.apache.org/confluence/display/WICKET/Autocomplete+using+a+W
icket+model
First of all thanks for the answers!
Have tried this one and it works fine!
Just one problem: when there is a ModelObject set on first render the
component I get an input like id:1
Meanwhile I figured out that the getModelObject() of the
AutoCompleteTextField allways gives me null. Also if I selected one choice.
While debugging I noticed it is a string.
That's why I'm iterating through the choice objects to get back the object
represented by the string in the autocomplete
You can search the archives for the answer to this one. Essentially
the model object for autocomplete is just a string.
On 10/13/08, kerim bey [EMAIL PROTECTED] wrote:
Hi!
I have problems with using an AutoCompleteText field.
Loading the choice Objects works fine, but when I select an entry
: Form model update with ajax using AutoCompleteTextField
You can search the archives for the answer to this one. Essentially the
model object for autocomplete is just a string.
On 10/13/08, kerim bey [EMAIL PROTECTED] wrote:
Hi!
I have problems with using an AutoCompleteText field.
Loading
i also do it in convertInput(). So even if it should be the wrong place, it
does work, and you are not alone with this solution ;)
On Monday 13 October 2008 15:40:22 kerim bey wrote:
While debugging I noticed it is a string.
That's why I'm iterating through the choice objects to get back the
Still does not work!
When I submit the form the object is null and the amount of is 0 even I
selected an Object and type an valid amount.
I'm not quite shure which components I have to add to the target for
onchange Event.
Right now I just added the form-component to the ajax target.
Lutz