/apache/wicket/ajax/AjaxChannel.html
> . I think this might be somethign for you:
>
> https://ci.apache.org/projects/wicket/apidocs/6.x/org/apache/wicket/ajax/AjaxChannel.Type.html#DROP
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/cancel-A
ntext:
http://apache-wicket.1842946.n4.nabble.com/cancel-AJAX-request-while-a-new-one-is-triggered-tp4673284p4673327.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-uns
Thanks again!
One "solution" on my use case is
1- Make wicket "search" AJAX request very lightweight. Just retrieving
"empty shells" to be populated later on
2- Used Client side JS + JSON mounted resources to draw the more heavy
panels.
On Wed, Jan 13, 2016 at 10:37 AM, Martin Grigorov
wrote:
On Wed, Jan 13, 2016 at 10:18 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Hi Martin!
>
> Thanks for the supper fast answer! What I need is something like
>
> 1- On client side: you say stop this request and by doing so I unlock the
> page and make it ready to accept new AJAX reque
Hi Martin!
Thanks for the supper fast answer! What I need is something like
1- On client side: you say stop this request and by doing so I unlock the
page and make it ready to accept new AJAX request
2- Fire a new AJAX request
> Wicket's AjaxChannels manage the waiting requests only. Once a req
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
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