Hey Joe,

Joe A a écrit :
> i defined an onFailure function but it isnt being fired in the case of

onFailure is fired when a response is obtained, and its status code is
neither null, nor zero, nor 2xy.

> the web server being down.  is there an easy way to implement an error

Use the onException callback.  Either locally on your specific
Request/Updater or globally by registering at Ajax.Responders.

-- 
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [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 rubyonrails-spinoffs@googlegroups.com
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