Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4-M2
-
None
-
Firefox 3, IE7
Description
When I refresh an AutoCompleteTextField using an ajax request, I cannot click anymore on the suggest list to select an element. Selecting with keyboard works fine.
Tested with Firefox3, IE7.
Can reproduce using this code :
<input type="text" wicket:id="myField"/>
<a wicket:id="myLink">MyAjaxLink</a>
final AutoCompleteTextField myField = new AutoCompleteTextField(
"myField") {
private static final long serialVersionUID = 1L;
@Override
protected Iterator<String> getChoices(String input)
};
myField.setOutputMarkupId(true);
add(myField);
final AjaxLink myLink = new AjaxLink("myLink") {
@Override
public void onClick(AjaxRequestTarget target)
};
add(myLink);
This works fine before I click on the link, it is broken after.