Re: Ajax Errors

2009-08-11 Thread Tony Thomas
I actually ending up using this: http://deadlytechnology.com/scripts/javascript/ajax-failure-callback/ It sends a 403 server error back if the transaction doesn't validate which triggers my error message in the view. On Aug 11, 2:50 am, Saliem wrote: > I am not quite sure what you are missing

Re: Ajax Errors

2009-08-11 Thread Saliem
I am not quite sure what you are missing but you might want to double check a couple of things including: the name of your aliquot model file, the validate variable in your aliquot model file and try using the validationErrors method available for each of the models created and returning any erro

Ajax Errors

2009-08-10 Thread Tony Thomas
This is something that's so simple, I'm embarrassed to ask. But after a few dozen Google searches, I'm going to swallow my pride and post my question here. I have a simple ajax function in my controller and I want it to return an error is the request is not successful. For example: function ajax