Handling lost connection from AJAX button
-----------------------------------------

                 Key: WICKET-1557
                 URL: https://issues.apache.org/jira/browse/WICKET-1557
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.3.3
         Environment: Firefox 2.0.0.12 on Ubuntu 7.10
            Reporter: Federico Fanton
            Priority: Minor


Is there a way to handle a "connection lost" problem from AJAX buttons?
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 javascript 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!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to