Re: Interrupting AJAX calls

2008-07-29 Thread Federico Fanton
On Tue, 29 Jul 2008 10:01:41 +0200
"Martijn Dashorst" <[EMAIL PROTECTED]> wrote:

> This is nothing we can do anything about: the browser cancels
> rendering. And with good cause. I've had my share of websites that
> took hold of my browser for too long. especially when they are getting
> ads from remote servers.
>
> In this case: just ensure that your responses are quick enough.

I see, but the customer found this "problem" during an AJAX call that shows a 
big DIV with a "please wait" message.. That is, I can't speed things up :/
I see in the DOM reference an "event.preventDefault", I think I'll try that..
Many thanks for your answer! :)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Interrupting AJAX calls

2008-07-29 Thread Martijn Dashorst
This is nothing we can do anything about: the browser cancels
rendering. And with good cause. I've had my share of websites that
took hold of my browser for too long. especially when they are getting
ads from remote servers.

In this case: just ensure that your responses are quick enough.

Martijn

On Tue, Jul 29, 2008 at 8:45 AM, Federico Fanton <[EMAIL PROTECTED]> wrote:
> On Fri, 25 Jul 2008 12:20:13 +0200
> Federico Fanton <[EMAIL PROTECTED]> wrote:
>
>> I'm sorry, I just noticed that if I press "ESC" during an AJAX call in 
>> Wicket, it gets interrupted (and the "onFailure" script gets run, I think)
>>
>> To reproduce, just head to
>> http://wicketstuff.org/wicket13/ajax/modal-window.1
>> and click on a link, then quickly press "ESC", the popup window shouldn't 
>> show up (or block in mid-rendering).
>
> Am I the only one seeing this behavior?
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Interrupting AJAX calls

2008-07-28 Thread Federico Fanton
On Fri, 25 Jul 2008 12:20:13 +0200
Federico Fanton <[EMAIL PROTECTED]> wrote:

> I'm sorry, I just noticed that if I press "ESC" during an AJAX call in 
> Wicket, it gets interrupted (and the "onFailure" script gets run, I think)
> 
> To reproduce, just head to
> http://wicketstuff.org/wicket13/ajax/modal-window.1
> and click on a link, then quickly press "ESC", the popup window shouldn't 
> show up (or block in mid-rendering).

Am I the only one seeing this behavior? 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Interrupting AJAX calls

2008-07-25 Thread Federico Fanton
Hi everyone!
I'm sorry, I just noticed that if I press "ESC" during an AJAX call in Wicket, 
it gets interrupted (and the "onFailure" script gets run, I think)

To reproduce, just head to
http://wicketstuff.org/wicket13/ajax/modal-window.1
and click on a link, then quickly press "ESC", the popup window shouldn't show 
up (or block in mid-rendering).

I don't know if this is Wicket-related or Firefox-related (tried v2 and v3) 
or.. :) My question is: any hint on how to prevent it?

Many thanks!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]