You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/10/09 16:33:04 UTC

[jira] [Resolved] (WICKET-4806) AjaxEditableChoiceLabel won't close select onblur

     [ https://issues.apache.org/jira/browse/WICKET-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4806.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.2.0
         Assignee: Martin Grigorov
    
> 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.0.0, 6.1.0
>            Reporter: Sebastian Scialabba
>            Assignee: Martin Grigorov
>             Fix For: 6.2.0
>
>
> 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