Since tapestry 5.4 you can wait for the data-ajax-active attribute to be
"false" on the
See SeleniumTestCase.waitForAjaxRequestsToComplete()
On Thu, 24 Jul 2014 08:53:40 -0300, Michael Wyraz
wrote:
Hi Lance,
this won't really help. I need to known when the ajax processing is
finished - not that a zone was updated (the fact, that there are zone
updates is not known to my script).
What do you mean by "ajax processing is finis
Hi Lance,
this won't really help. I need to known when the ajax processing is
finished - not that a zone was updated (the fact, that there are zone
updates is not known to my script).
Oops... That was for 5.3.
Try this instead
$(document).bind("t5:zone:did-update", function() {...})
On 24
Oops... That was for 5.3.
Try this instead
$(document).bind("t5:zone:did-update", function() {...})
On 24 Jul 2014 11:15, "Lance Java" wrote:
> $(document).bind(Tapestry.ZONE_UPDATED_EVENT, function() {...})
> On 24 Jul 2014 10:22, "Michael Wyraz" wrote:
>
>> Hi,
>>
>> unfortunately it works
$(document).bind(Tapestry.ZONE_UPDATED_EVENT, function() {...})
On 24 Jul 2014 10:22, "Michael Wyraz" wrote:
> Hi,
>
> unfortunately it works not completely as expected. The reason is that that
> jQuery event if fired when the response is received, not when the response
> is processed. So i have
Hi,
unfortunately it works not completely as expected. The reason is that
that jQuery event if fired when the response is received, not when the
response is processed. So i have a race-contition here where tapestry is
aplying zoneupdates or redirects but my script thinks that the request
is a
Hi Thiago,
thank you very much for the hint. Look that I searched at the wrong
place. I could solve my problem using the following script:
define(["jquery"],function($) {
var ajaxCount=0;
$(document).ajaxStart(function() {
ajaxCount++;
console.log("Aj
On Wed, 23 Jul 2014 10:46:24 -0300, Michael Wyraz
wrote:
Hi,
Hi!
I'd like to track ajax requests (when do they start, when they are
finished) for some purposes:
Both Prototype and jQuery provide callbacks for this.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consulta
Hi,
I'd like to track ajax requests (when do they start, when they are
finished) for some purposes:
1. Selenium UI tests - here I'd like to wait until ajax requests are
finished befor a test continues
2. Dynamic busy pane
I found some idea how it can work at
http://jumpstart.doublenegative.c