Hi Ernesto, There is no way to abort/cancel the Ajax request. XmlHttpRequest has a method for this but it will just close the connection. The http worker thread at the server will continue to do its job and finally will fail with IOException complaining that the connection is closed and it cannot write its response.
Wicket's AjaxChannels manage the waiting requests only. Once a request is fired you cannot do anything. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 13, 2016 at 9:59 AM, Ernesto Reinaldo Barreiro < [email protected]> wrote: > Hi, > > Happy 2016 to all wicketeers! > > Going to business: is there a way to cancel an ongoing AJAX request when a > new one is triggered? This last thing conditional (i.e. not for all new > AJAX requests but certain). Is using a different channel enough? > > Thanks in advance > > -- > Regards - Ernesto Reinaldo Barreiro >
