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

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

    [ 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.