[
https://issues.apache.org/jira/browse/WICKET-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov reopened WICKET-5234:
-------------------------------------
> 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, 1.5.11
>
> Attachments: EventScript.patch, 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