You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2015/05/12 14:52:59 UTC

[jira] [Created] (WICKET-5905) allow listening to Ajax calls before scheduling

Sven Meier created WICKET-5905:
----------------------------------

             Summary: allow listening to Ajax calls before scheduling
                 Key: WICKET-5905
                 URL: https://issues.apache.org/jira/browse/WICKET-5905
             Project: Wicket
          Issue Type: Improvement
            Reporter: Sven Meier
            Assignee: Sven Meier
            Priority: Minor


I need to execute custom JavaScript on each Ajax call, immediately after the event occurred. Topic "/ajax/call/before" is not suitable for this - if the call gets scheduled, the JavaScript is executed too late.

I propose to add a new topic '/ajax/call/init', which is triggered just after creation of the Call, but before throttling and scheduling.

See http://apache-wicket.1842946.n4.nabble.com/additional-global-ajax-listener-td4670715.html for discussion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)