You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Nino Martinez (JIRA)" <ji...@apache.org> on 2010/10/29 14:08:21 UTC

[jira] Created: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work

Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work
------------------------------------------------------------------------

                 Key: WICKET-3142
                 URL: https://issues.apache.org/jira/browse/WICKET-3142
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M3
            Reporter: Nino Martinez


When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.

Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work

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

Pedro Santos commented on WICKET-3142:
--------------------------------------

The AjaxFormComponentUpdatingBehavior is generating an url for the callback script before an AttachedCompoundPropertyModel to be lazy created to the form component. Unfortunately when the component insert the new model to his data array at the position 0, the generated ulr for the behavior is no longer valid, because the behavior position has been incremented.
Nino, for now you can just pass the model to your components as constructor parameters and they behaviour will work (of course this is an workaround), while this ticket is open.

> Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3142
>                 URL: https://issues.apache.org/jira/browse/WICKET-3142
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Nino Martinez
>         Attachments: dropdownajaxbug.zip
>
>
> When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.
> Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work

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

Pedro Santos updated WICKET-3142:
---------------------------------

    Attachment: url-tests.patch

tests

> Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3142
>                 URL: https://issues.apache.org/jira/browse/WICKET-3142
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Nino Martinez
>         Attachments: dropdownajaxbug.zip, url-tests.patch
>
>
> When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.
> Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work

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

Igor Vaynberg resolved WICKET-3142.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M3

> Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3142
>                 URL: https://issues.apache.org/jira/browse/WICKET-3142
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Nino Martinez
>            Assignee: Igor Vaynberg
>             Fix For: 1.5-M3
>
>         Attachments: dropdownajaxbug.zip, url-tests-2.patch, url-tests.patch
>
>
> When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.
> Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work

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

Igor Vaynberg reassigned WICKET-3142:
-------------------------------------

    Assignee: Igor Vaynberg

> Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3142
>                 URL: https://issues.apache.org/jira/browse/WICKET-3142
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Nino Martinez
>            Assignee: Igor Vaynberg
>         Attachments: dropdownajaxbug.zip, url-tests.patch
>
>
> When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.
> Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work

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

Pedro Santos updated WICKET-3142:
---------------------------------

    Attachment: url-tests-2.patch

sending the url-tests-2.patch that has one more test

> Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3142
>                 URL: https://issues.apache.org/jira/browse/WICKET-3142
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Nino Martinez
>            Assignee: Igor Vaynberg
>         Attachments: dropdownajaxbug.zip, url-tests-2.patch, url-tests.patch
>
>
> When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.
> Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior to dropdownchoice does not work

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

Igor Vaynberg updated WICKET-3142:
----------------------------------

    Summary: Adding AjaxFormComponentUpdatingBehavior to dropdownchoice does not work  (was: Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work)

> Adding AjaxFormComponentUpdatingBehavior to dropdownchoice does not work
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3142
>                 URL: https://issues.apache.org/jira/browse/WICKET-3142
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Nino Martinez
>            Assignee: Igor Vaynberg
>             Fix For: 1.5-M3
>
>         Attachments: dropdownajaxbug.zip, url-tests-2.patch, url-tests.patch
>
>
> When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.
> Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior to dropdownchoice does not work

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

Hudson commented on WICKET-3142:
--------------------------------

Integrated in Apache Wicket 1.5.x #468 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/468/])
    Issue: WICKET-3142


> Adding AjaxFormComponentUpdatingBehavior to dropdownchoice does not work
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3142
>                 URL: https://issues.apache.org/jira/browse/WICKET-3142
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Nino Martinez
>            Assignee: Igor Vaynberg
>             Fix For: 1.5-M3
>
>         Attachments: dropdownajaxbug.zip, url-tests-2.patch, url-tests.patch
>
>
> When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.
> Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-3142) Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work

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

Nino Martinez updated WICKET-3142:
----------------------------------

    Attachment: dropdownajaxbug.zip

> Adding AjaxFormComponentUpdatingBehavior ti dropdownchoice does not work
> ------------------------------------------------------------------------
>
>                 Key: WICKET-3142
>                 URL: https://issues.apache.org/jira/browse/WICKET-3142
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Nino Martinez
>         Attachments: dropdownajaxbug.zip
>
>
> When firing the onchange of the dropdown a nullpointer occurs on the java side. Also notice that the user are not getting displayed the exception page.
> Please run the attached quickstart, and select something in the dropdown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.