[HTML_AJAX-devel] AJAX requests which fail silently ?
Laurent Yaish
laurenty at gmail.com
Fri Nov 30 14:07:49 MST 2007
Hi Alain,
aren't you catching the error in your PHP class? if so then you could
handle it there and error silently
The exposed methods from the stub don't do anything but map to your PHP class
Laurent
On Nov 30, 2007 12:52 PM, Alain BAUDHUIN <alain.baudhuin at swing.be> wrote:
>
>
> 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
>
> _______________________________________________
> Html_ajax-devel mailing list
> Html_ajax-devel at lists.bluga.net
> http://lists.bluga.net/mailman/listinfo/html_ajax-devel
>
>
More information about the Html_ajax-devel
mailing list