[Seaside] Ajax and error management

Thierry Thelliez thierry.thelliez.tech at gmail.com
Mon May 16 23:28:39 UTC 2011


I finally found a simple way to do it :-)  The issue was not really
about the complexity of the JS function, but I could not find how to
hook to the onError call.

Here a solution:


onError:  ( 'alert(xhr.status); alert(thrownError);' asFunction: (
Array with: 'xhr' with: 'ajaxOptions' with: 'thrownError' ) ) );



Thierry


More information about the seaside mailing list