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/16 18:52:59 UTC

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

     [ https://issues.apache.org/jira/browse/WICKET-5905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-5905.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 6.20.0
                   7.0.0

Added new topic "/ajax/call/init" as proposed.

> allow listening to Ajax calls before scheduling
> -----------------------------------------------
>
>                 Key: WICKET-5905
>                 URL: https://issues.apache.org/jira/browse/WICKET-5905
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 7.0.0-M5, 6.19.0
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>            Priority: Minor
>             Fix For: 7.0.0, 6.20.0
>
>
> 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)