Re: Handling lost connection

2008-04-21 Thread Federico Fanton
On Fri, 18 Apr 2008 09:15:52 -0700
"Igor Vaynberg" <[EMAIL PROTECTED]> wrote:

> create a jira issue

Done, WICKET-1557.. Thanks again!


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



Re: Handling lost connection

2008-04-18 Thread Igor Vaynberg
create a jira issue

-igor


On Fri, Apr 18, 2008 at 3:12 AM, Federico Fanton <[EMAIL PROTECTED]> wrote:
> Hi all,
>  is there a way to handle a "connection lost" problem from AJAX buttons? I 
> mean, right now when I click on an AJAX button and the server is down, 
> nothing happens. I'd like to show an alert instead..
>  I tried registering a handler with registerFailureHandler, but it doesn't 
> fire _only_ on connection lost, I receive alerts on other Ajax errors too.. 
> Inside "Wicket AJAX debug" I see NS_ERROR_NOT_AVAILABLE errors, even with the 
> server up.. Am I doing something wrong?
>  Many thanks for your time!
>
>
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Handling lost connection

2008-04-18 Thread Federico Fanton
Hi all,
is there a way to handle a "connection lost" problem from AJAX buttons? I mean, 
right now when I click on an AJAX button and the server is down, nothing 
happens. I'd like to show an alert instead..
I tried registering a handler with registerFailureHandler, but it doesn't fire 
_only_ on connection lost, I receive alerts on other Ajax errors too.. Inside 
"Wicket AJAX debug" I see NS_ERROR_NOT_AVAILABLE errors, even with the server 
up.. Am I doing something wrong?
Many thanks for your time!


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