failure: function(form, action) { obj = Ext.util.JSON.decode(action.response.responseText); Ext.Msg.alert("Wystąpił błąd", obj.errors.komunikat); }