You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Lubos Racansky (JIRA)" <ji...@apache.org> on 2012/05/30 13:54:23 UTC

[jira] [Created] (WICKET-4576) Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection

Lubos Racansky created WICKET-4576:
--------------------------------------

             Summary: Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection
                 Key: WICKET-4576
                 URL: https://issues.apache.org/jira/browse/WICKET-4576
             Project: Wicket
          Issue Type: Bug
            Reporter: Lubos Racansky


I use Wicket DropDownChoice with a nullSelection string (e.g. "Choose One"). OnUpdate is not called when nullSelection is chosen.

dropDown.add(new OnChangeAjaxBehavior() {
    @Override
    protected void onUpdate(AjaxRequestTarget target) {
        //some code
    }
});
dropDown.setNullValid(true);

using Wicket 1.4.12

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4576) Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection

Posted by "Lubos Racansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lubos Racansky updated WICKET-4576:
-----------------------------------

    Attachment: WICKET-4576.zip

A have created a quickstart and it works for 1.5.6 and 1.4.12 as well. I have to look for what might produce that error in my production code.
                
> Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-4576
>                 URL: https://issues.apache.org/jira/browse/WICKET-4576
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Lubos Racansky
>         Attachments: WICKET-4576.zip
>
>
> I use Wicket DropDownChoice with a nullSelection string (e.g. "Choose One"). OnUpdate is not called when nullSelection is chosen.
> dropDown.add(new OnChangeAjaxBehavior() {
>     @Override
>     protected void onUpdate(AjaxRequestTarget target) {
>         //some code
>     }
> });
> dropDown.setNullValid(true);
> using Wicket 1.4.12

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4576) Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4576.
-------------------------------------

    Resolution: Incomplete

Please try with 1.5.6 and attach a quickstart.
1.4.12 is too old.
                
> Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-4576
>                 URL: https://issues.apache.org/jira/browse/WICKET-4576
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Lubos Racansky
>
> I use Wicket DropDownChoice with a nullSelection string (e.g. "Choose One"). OnUpdate is not called when nullSelection is chosen.
> dropDown.add(new OnChangeAjaxBehavior() {
>     @Override
>     protected void onUpdate(AjaxRequestTarget target) {
>         //some code
>     }
> });
> dropDown.setNullValid(true);
> using Wicket 1.4.12

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4576) Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection

Posted by "Lubos Racansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285619#comment-13285619 ] 

Lubos Racansky commented on WICKET-4576:
----------------------------------------

Well, it is an enterprise legacy system, I cannot upgrade to 1.5.6
                
> Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-4576
>                 URL: https://issues.apache.org/jira/browse/WICKET-4576
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Lubos Racansky
>
> I use Wicket DropDownChoice with a nullSelection string (e.g. "Choose One"). OnUpdate is not called when nullSelection is chosen.
> dropDown.add(new OnChangeAjaxBehavior() {
>     @Override
>     protected void onUpdate(AjaxRequestTarget target) {
>         //some code
>     }
> });
> dropDown.setNullValid(true);
> using Wicket 1.4.12

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (WICKET-4576) Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection

Posted by "Lubos Racansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289241#comment-13289241 ] 

Lubos Racansky edited comment on WICKET-4576 at 6/5/12 8:25 AM:
----------------------------------------------------------------

I have created a quickstart and it works for 1.5.6 and 1.4.12 as well. I have to look for what might produce that error in my production code.
                
      was (Author: bantercz):
    A have created a quickstart and it works for 1.5.6 and 1.4.12 as well. I have to look for what might produce that error in my production code.
                  
> Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-4576
>                 URL: https://issues.apache.org/jira/browse/WICKET-4576
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Lubos Racansky
>         Attachments: WICKET-4576.zip
>
>
> I use Wicket DropDownChoice with a nullSelection string (e.g. "Choose One"). OnUpdate is not called when nullSelection is chosen.
> dropDown.add(new OnChangeAjaxBehavior() {
>     @Override
>     protected void onUpdate(AjaxRequestTarget target) {
>         //some code
>     }
> });
> dropDown.setNullValid(true);
> using Wicket 1.4.12

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4576) Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285620#comment-13285620 ] 

Martin Grigorov commented on WICKET-4576:
-----------------------------------------

We don't have resources to support all the releases :-/
1.4.x is frozen and it receives only security related fixes.
Create a quickstart with 1.5.6 and if it fails then we will fix it for 1.5.x and then you can downport the fix in your app by introducing MyDropDownChoice for example.
                
> Wicket DropDownChoice - OnChangeAjaxBehavior does not react on select of nullSelection
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-4576
>                 URL: https://issues.apache.org/jira/browse/WICKET-4576
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Lubos Racansky
>
> I use Wicket DropDownChoice with a nullSelection string (e.g. "Choose One"). OnUpdate is not called when nullSelection is chosen.
> dropDown.add(new OnChangeAjaxBehavior() {
>     @Override
>     protected void onUpdate(AjaxRequestTarget target) {
>         //some code
>     }
> });
> dropDown.setNullValid(true);
> using Wicket 1.4.12

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira