View Full Version : Is there a way to get the response object from a form.submit on failure?

27 Apr 2007, 12:09 AM
It seems the failure function disregards the response object. Is the response object being saved somewhere? I cannot imagine why it would not be saved somewhere or at least passed to the afterAction function. am I missing something here?

The failure function in Ext.form.Action is:

failure : function(response){
this.failureType = Ext.form.Action.CONNECT_FAILURE;
this.form.afterAction(this, false);