[
https://issues.apache.org/jira/browse/WICKET-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-5267.
-------------------------------------
Resolution: Later
Closing as "Later". It is too complicated.
See WICKET-5512 if jQuery#on's selector can do the job.
> Create an Ajax behavior that suppresses all AjaxEventBehaviors in the
> sub-components and acts as a delegate
> -----------------------------------------------------------------------------------------------------------
>
> Key: WICKET-5267
> URL: https://issues.apache.org/jira/browse/WICKET-5267
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 7.0.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Priority: Minor
> Attachments: WICKET-5267.patch, event-delegating-behavior.tgz
>
>
> This ticket is an experiment with JavaScript event delegation.
> It explores a solution with a AjaxEventBehavior that suppresses all
> AjaxEventBehaviors in the sub-components of the host component.
> The benefit should be that the JavaScript engine will have to deal with just
> one event binding instead of N (where N could be any number higher than 1).
> See http://davidwalsh.name/event-delegate for a description of JavaScript
> event delegation.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)