Hi wicketusers,
I have an autocomplete textfield with an
AjaxFormComponentUpdatingBehavior attached for the 'change' event.
After an error on the input the update is handled in the onError
method --> ( some pseudocode )
autocompletefield.add(new AjaxFormComponentUpdatingBehavior("change") {
.....
protected void onError(AjaxRequestTarget target,
RuntimeException re) {
autocompletefield.add(new
AttributeModifier(CLASS_ATTRIBUTE, AUTOCOMPLETE_INVALID_CLASS));
target.add(autocompletefield);
}
Here is the autocompletefield replaced by an updated version with a
new class attribute.
The problem is that a mouseselection of a listitem in the dropdown is
not selected. A mouseselection just closes the autocomplete window.
Selection with the keyboard works just fine.
Any suggestions how to tackle this problem?
Thanks in advance,
Haiko van der Schaaf
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org