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

Martin Grigorov resolved WICKET-5234.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 7.0.0
                   6.9.0
         Assignee: Martin Grigorov

AjaxHeaderResponse now handles OnEventHeaderItem specially as it already does 
with OnLoad and OnDomReady header items
                
> OnEventHeaderItem can't be applied via AJAX
> -------------------------------------------
>
>                 Key: WICKET-5234
>                 URL: https://issues.apache.org/jira/browse/WICKET-5234
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Andrea Del Bene
>            Assignee: Martin Grigorov
>             Fix For: 6.9.0, 7.0.0
>
>         Attachments: OnEventAjax.zip, WICKET-5234.patch
>
>
> OnEventHeaderItem doesn't have effect if it is applied to a component 
> refreshed via AJAX. In short, OnEventHeaderItem is applied before the 
> component is refreshed via AJAX, hence the releated event handler is removed 
> from the target component. 
> We could modify JavaScript function Wicket.Ajax.Call.loadedCallback in order 
> to apply header contributors after the component has been refreshed (see 
> patch).

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

Reply via email to