You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sebastian Scialabba (JIRA)" <ji...@apache.org> on 2012/10/07 06:51:02 UTC

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

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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ 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