[ 
https://issues.apache.org/jira/browse/WICKET-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043719#comment-17043719
 ] 

Sven Meier commented on WICKET-6750:
------------------------------------

I don't think it's a good idea to increase the Ajax API with 3 additional 
methods for this very special use case.

Ajax requests can easily be tracked by registering a listener on Ajax topics, 
and then cancelled as needed.

> add capability to cancel ongoing AJAX requests from client side
> ---------------------------------------------------------------
>
>                 Key: WICKET-6750
>                 URL: https://issues.apache.org/jira/browse/WICKET-6750
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 8.7.0, 9.0.0-M4
>            Reporter: Ernesto Reinaldo Barreiro
>            Assignee: Ernesto Reinaldo Barreiro
>            Priority: Major
>             Fix For: 9.0.0-M5
>
>         Attachments: image-2020-02-24-14-35-26-176.png
>
>
> Currently it is not possible to stop an ongoing AJAX request form client 
> side. This would be nice to have, on a per channel basis, for use cases such 
> as:
> 1- user cancelling a long lasting AJAX upload or other not duration 
> predictable AJAX requests?
> 2- add some logic at client side killing long running AJAX requests under 
> certain conditions?
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to