Hi,
I have AutoCompleteTextField with
AjaxFormComponentUpdatingBehavior("onchange"). When the value is chosen from
the auto complete it populates the model object of a drop down. Both of the
components are in a form. The problem is it is working only the first time.
Then IE reports Error on Page: Object required. I've tried to debug the
error in FireFox but when I'm using Firefox it works fine with no error. If
I use DropDownChoice instead of AutoCompleteTextField it works with no
errors as well.
I'm using wicket-1.2.6 and wicket-extensions-1.2.6. Has anybody seen
something like this? Is it a bug in 1.2.6 AutoCompleteTextField for IE?
Unfortunately I almost all of the clients are using IE and it has to work
with this browser.
Here is the code snippet:
acTextField.add(new AjaxFormComponentUpdatingBehavior("onchange"){
private static final long serialVersionUID = 1L;
@Override
public void onUpdate(AjaxRequestTarget target){
String name =
acTextField.getModelObjectAsString();
dropDown.setModelObject(name);
target.addComponent(form);
}
});
dropDown and acTextField are added to the form.
--
View this message in context:
http://www.nabble.com/AutoCompleteTextField-problem-tf4949236.html#a14170390
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]