[HTML_AJAX-devel] AJAX requests which fail silently ?
Alain BAUDHUIN
alain.baudhuin at swing.be
Fri Nov 30 13:52:05 MST 2007
Hi,
I'm an enthusiast user of HTML_AJAX for some time already. I'm mainly
exposing PHP classes using stubs, and I've provided my version of
HTML_AJAX.onError= function(e) { (...) }which works just fine.
But now I'm facing the fact that some some of the exposed functions should
not perform any error reporting to the user in case of failure, (eg. server
not available),. At some places, asynchronous calls to
no-error-reporting-methods and standard-error-reporting-methods can be
mixed, so I cannot possibly remove and restore the error handler. Is there
any way to inhibit error reporting on some of the exposed methods and not
others ?
My only other idea would be to instanciate a second HTML_AJAX object, with
an empty onError function, but is this even possible since HTML_AJAX is a
global ?
Thanks for any hint,
Alain.
_____________________
Alain BAUDHUIN
alain.baudhuin at swing.be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluga.net/pipermail/html_ajax-devel/attachments/20071130/e6a54a4d/attachment.html
More information about the Html_ajax-devel
mailing list