Hi guys - started working with Wicket a few weeks ago and I'm new to
this list. BTW, I haven't had that much fun coding client/server stuff
in a long time - never liked JSP/JSTL, etc. much. 

 

Anyway, I'm running into a little update problem with
AutoCompleteTextField - for some reason when I start typing the field
only shows a subset of the available options. My log output indicates
that the Iterator returned by getChoices(String input) contains all the
data. Also, when I start deleting characters in the text field, the
Iterator again contains an increasing amount of possible options for the
fewer remaining characters, however the field only shows the number of
options that were previously available. This is tough to explain, let me
give an example - if I type 'United' I get three options:

 

-          United Arab Emirates

-          United Kingdom

-          United States

 

Now, when I delete all characters except the 'U' I get:

 

-          Ukraine

-          United Arab Emirates

-          United Kingdom

 

When I now delete all chars in the field and then only type 'U' I get:

 

-          Ukraine

-          United Arab Emirates

-          United Kingdom

-          United States

-          Urugay

 

BTW, the very first time I simply type 'U' I get nothing - it takes
several characters until the auto-complete kicks in.

 

FYI - I'm autopopulating a simple list with Locales, which is what
drives the component. My log statement in the method that serves the
data to the overridden getChoices method does print the right data. It
seems it's the component that's somehow broken.

 

Any input would be very welcome.

 

Thanks!

 

Michael

Reply via email to