Hi,

this is exactly how we are using AutoCompleteTextField, works fine here.

I wonder what's supposed to be broken about this component?

Sven

On 06/14/2011 06:05 PM, Alexander Morozov wrote:
Hi,

could you try to use custom IConverter ?


public class MyAutocompleteTextField extends AutoCompleteTextField {

   public MyAutocompleteTextField(...) {
     super(...);
     setType(MyModel.class);
   }


   protected Iterator getChoices(String input) { ... }

   public IConverter<?>  getConverter(...) {
     return new MyModelConverter();
   }

}


-----
--
http://www.linkedin.com/in/amorozov
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteBehavior-rendering-question-tp3595789p3597005.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to