Sebastian Scialabba created WICKET-4806:
-------------------------------------------
Summary: AjaxEditableChoiceLabel won't close select onblur
Key: WICKET-4806
URL: https://issues.apache.org/jira/browse/WICKET-4806
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 6.1.0, 6.0.0
Reporter: Sebastian Scialabba
AjaxEditableChoiceLabel won´t close the select combo (showed after clicking in
the asociated label) when it losses the focus. It's supossed to call the
onCancel method like it does in AjaxEditableLabel but the select turns into a
label only selecting a different value in the select combo (it doesn't work
pressing Escape or clicking in other part of the page).
I fix it localy adding this code:
editor.add(new AjaxEventBehavior("blur") {
protected void onEvent(AjaxRequestTarget target) {
AjaxEditableChoiceLabel.this.onCancel(target);
}
});
For the editor declared as DropDownChoice in line 183 of
AjaxEditableChoiceLabel .java.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira