You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2013/06/13 22:03:20 UTC
[jira] [Commented] (WICKET-5234) OnEventHeaderItem can't be applied
via AJAX
[ https://issues.apache.org/jira/browse/WICKET-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682641#comment-13682641 ]
Andrea Del Bene commented on WICKET-5234:
-----------------------------------------
I've attached a quickstart project as well to show you the problem.
> 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
> 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