Hey JP,

Jean-Philippe Encausse a écrit :
> How can I handle Errors ? For example, If the server doesn't respond ?
> Is there a callback onError ? or onFailure ?

script.aculo.us does not forward onXxx callbacks from its options to the
internal Ajax.Request.  However, you could use global responders, using
Ajax.Responders, to handle network errors (onException) or
failure-bearing (non-null, non-2xx HTTP response codes) responses.

-- 
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to