I am using wicket 7.14
The following setObject is not called if I select the item from the list
showing from AutoCompleteTextField.
However, it will be called if I type something on the textfield. I tried
the wicket example with form surrounding the input tag and add
AjaxFormSubmitBehavior which was still not working. I also tried the blur
event suggested by some forum which also not work. I was stuck on the
problem for many days.
final IModel<String> model = new IModel<String>()
{
private String value = null;
@Override
public String getObject()
{
return value;
}
@Override
public void setObject(String object)
{
value = object;
}
@Override
public void detach()
{
}
};
final AutoCompleteTextField<String> sampleField = new
AutoCompleteTextField<String>("sample", model, String.class, settings){
private static final long
serialVersionUID = -2129392693264844597L;
......
}
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]