X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/output/Ext.data.DataProxy.html diff --git a/docs/output/Ext.data.DataProxy.html b/docs/output/Ext.data.DataProxy.html index e218121c..a76ba70a 100644 --- a/docs/output/Ext.data.DataProxy.html +++ b/docs/output/Ext.data.DataProxy.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  DataProxy

Class Ext.data.DataProxy

Package:Ext.data
Defined In:DataProxy.js
Class:DataProxy
Subclasses:DirectProxy, HttpProxy, MemoryProxy, ScriptTagProxy
Extends:Observable

Abstract base class for implementations which provide retrieval of unformatted data objects. +

Observable
  DataProxy

Class Ext.data.DataProxy

Package:Ext.data
Defined In:DataProxy.js
Class:DataProxy
Subclasses:DirectProxy, HttpProxy, MemoryProxy, ScriptTagProxy
Extends:Observable

Abstract base class for implementations which provide retrieval of unformatted data objects. This class is intended to be extended and should not be created directly. For existing implementations, see Ext.data.DirectProxy, Ext.data.HttpProxy, Ext.data.ScriptTagProxy and Ext.data.MemoryProxy.

@@ -39,7 +39,7 @@ Ext.data.DataProxy.on('write', function(proxy, action, data, res }); // Listen to "exception" event fired by all proxies -Ext.data.DataProxy.on('exception', function(proxy, type, action) { +Ext.data.DataProxy.on('exception', function(proxy, type, action, exception) { console.error(type + action + ' exception); }); Note: These three events are all fired with the signature of the corresponding DataProxy instance event beforewrite, write and exception.

Config Options

Config OptionsDefined By
\ No newline at end of file +DataProxies by attaching a listener to the Ext.data.DataProxy class itself.

Listeners will be called with the following arguments:
  • this : DataProxy
    The proxy that sent the request
  • action : String
    [Ext.data.Api.actions.create|upate|destroy]
  • data : Object
    The data object extracted from the server-response
  • response : Object
    The decoded response from server
  • rs : Record/Record[]
    The Record(s) from Store
  • options : Object
    The callback's options property as passed to the request function
DataProxy \ No newline at end of file