AJAX Timeout Handler for QAjax Actions
Fri, 04/17/2009 - 16:31
Hello, Please can someone tell me how to implement an ajax timeout handler for QAjax Actions?
What I mean is this, sometimes, while executing a QAjax actions, the network goes off and the wait icon continues spinning forever, I want to be able to alert my users that the request timed out or something.
Please, I appreciate your help. Thank You.

I'm afraid I don't know of a way to make it possible with QCubed as of right now. This would be very easy to do if the Ajax core of the framework was built on top of jQuery (as we ultimately envision for 1.1 and beyond). Don't think it's possible right now, though.
I once investigated it, but never implemented it. It would be possible, if you manually added timeout check for ajax request handler. There are even some examples if you search from google. But yeah, QCubed itself doesn't provide that functionality.
ok guys. Thanks very much. I'm most grateful
And I am looking forward to the Qcubed - jQuery team up, come version 1.1
Much Love..................Qcubed!!!
Perhaps you can see my js modification in here:
http://qcu.be/content/display-alert-upon-no-connectivity-during-ajax-or-...
Thanks Revvi, just downloaded it. Let me try it out and I'ld get back to you. Cheers!