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 21:46:21 UTC

[jira] [Created] (WICKET-5234) OnEventHeaderItem can't be applied via AJAX

Andrea Del Bene created WICKET-5234:
---------------------------------------

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


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