Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / output / Ext.form.action.DirectLoad.js
1 Ext.data.JsonP.Ext_form_action_DirectLoad({
2   "tagname": "class",
3   "name": "Ext.form.action.DirectLoad",
4   "doc": "<p>Provides <a href=\"#/api/Ext.direct.Manager\" rel=\"Ext.direct.Manager\" class=\"docClass\">Ext.direct.Manager</a> support for loading form data.</p>\n\n\n<p>This example illustrates usage of Ext.direct.Direct to <b>load</b> a form through Ext.Direct.</p>\n\n\n<pre><code>var myFormPanel = new Ext.form.Panel({\n    // configs for FormPanel\n    title: 'Basic Information',\n    renderTo: document.body,\n    width: 300, height: 160,\n    padding: 10,\n\n    // configs apply to child items\n    defaults: {anchor: '100%'},\n    defaultType: 'textfield',\n    items: [{\n        fieldLabel: 'Name',\n        name: 'name'\n    },{\n        fieldLabel: 'Email',\n        name: 'email'\n    },{\n        fieldLabel: 'Company',\n        name: 'company'\n    }],\n\n    // configs for BasicForm\n    api: {\n        // The server-side method to call for load() requests\n        load: Profile.getBasicInfo,\n        // The server-side must mark the submit handler as a 'formHandler'\n        submit: Profile.updateBasicInfo\n    },\n    // specify the order for the passed params\n    paramOrder: ['uid', 'foo']\n});\n\n// load the form\nmyFormPanel.getForm().load({\n    // pass 2 arguments to server side getBasicInfo method (len=2)\n    params: {\n        foo: 'bar',\n        uid: 34\n    }\n});\n</code></pre>\n\n\n<p>The data packet sent to the server will resemble something like:</p>\n\n<pre><code>[\n    {\n        \"action\":\"Profile\",\"method\":\"getBasicInfo\",\"type\":\"rpc\",\"tid\":2,\n        \"data\":[34,\"bar\"] // note the order of the params\n    }\n]\n</code></pre>\n\n\n<p>The form will process a data packet returned by the server that is similar\nto the following format:</p>\n\n<pre><code>[\n    {\n        \"action\":\"Profile\",\"method\":\"getBasicInfo\",\"type\":\"rpc\",\"tid\":2,\n        \"result\":{\n            \"success\":true,\n            \"data\":{\n                \"name\":\"Fred Flintstone\",\n                \"company\":\"Slate Rock and Gravel\",\n                \"email\":\"fred.flintstone@slaterg.com\"\n            }\n        }\n    }\n]\n</code></pre>\n\n",
5   "extends": "Ext.form.action.Load",
6   "mixins": [
7
8   ],
9   "alternateClassNames": [
10     "Ext.form.Action.DirectLoad"
11   ],
12   "xtype": null,
13   "author": null,
14   "docauthor": null,
15   "singleton": false,
16   "private": false,
17   "cfg": [
18     {
19       "tagname": "cfg",
20       "name": "failure",
21       "member": "Ext.form.action.Action",
22       "type": "Function",
23       "doc": "<p>The function to call when a failure packet was received, or when an\nerror ocurred in the Ajax communication.\nThe function is passed the following parameters:<ul class=\"mdetail-params\">\n<li><b>form</b> : Ext.form.Basic<div class=\"sub-desc\">The form that requested the action</div></li>\n<li><b>action</b> : Ext.form.action.Action<div class=\"sub-desc\">The Action class. If an Ajax\nerror ocurred, the failure type will be in <a href=\"#/api/Ext.form.action.DirectLoad-property-failureType\" rel=\"Ext.form.action.DirectLoad-property-failureType\" class=\"docClass\">failureType</a>. The <a href=\"#/api/Ext.form.action.DirectLoad-property-result\" rel=\"Ext.form.action.DirectLoad-property-result\" class=\"docClass\">result</a>\nproperty of this object may be examined to perform custom postprocessing.</div></li>\n</ul></p>\n",
24       "private": false,
25       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
26       "linenr": 70,
27       "html_filename": "Action2.html",
28       "href": "Action2.html#Ext-form-action-Action-cfg-failure",
29       "shortDoc": "The function to call when a failure packet was received, or when an\nerror ocurred in the Ajax communication.\nThe func..."
30     },
31     {
32       "tagname": "cfg",
33       "name": "form",
34       "member": "Ext.form.action.Action",
35       "type": "Ext.form.Basic",
36       "doc": "<p>The <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">BasicForm</a> instance that\nis invoking this Action. Required.</p>\n",
37       "private": false,
38       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
39       "linenr": 20,
40       "html_filename": "Action2.html",
41       "href": "Action2.html#Ext-form-action-Action-cfg-form"
42     },
43     {
44       "tagname": "cfg",
45       "name": "headers",
46       "member": "Ext.form.action.Action",
47       "type": "Object",
48       "doc": "<p>Extra headers to be sent in the AJAX request for submit and load actions. See\n<a href=\"#/api/Ext.data.Connection--headers\" rel=\"Ext.data.Connection--headers\" class=\"docClass\">Ext.data.Connection.headers</a>.</p>\n\n",
49       "private": false,
50       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
51       "linenr": 49,
52       "html_filename": "Action2.html",
53       "href": "Action2.html#Ext-form-action-Action-cfg-headers"
54     },
55     {
56       "tagname": "cfg",
57       "name": "method",
58       "member": "Ext.form.action.Action",
59       "type": "String",
60       "doc": "<p>The HTTP method to use to access the requested URL. Defaults to the\n<a href=\"#/api/Ext.form.Basic-cfg-method\" rel=\"Ext.form.Basic-cfg-method\" class=\"docClass\">BasicForm's method</a>, or 'POST' if not specified.</p>\n",
61       "private": false,
62       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
63       "linenr": 37,
64       "html_filename": "Action2.html",
65       "href": "Action2.html#Ext-form-action-Action-cfg-method"
66     },
67     {
68       "tagname": "cfg",
69       "name": "params",
70       "member": "Ext.form.action.Action",
71       "type": "Object/String",
72       "doc": "<p>Extra parameter values to pass. These are added to the Form's\n<a href=\"#/api/Ext.form.Basic-cfg-baseParams\" rel=\"Ext.form.Basic-cfg-baseParams\" class=\"docClass\">Ext.form.Basic.baseParams</a> and passed to the specified URL along with the Form's\ninput fields.</p>\n\n\n<p>Parameters are encoded as standard HTTP parameters using <a href=\"#/api/Ext-method-urlEncode\" rel=\"Ext-method-urlEncode\" class=\"docClass\">Ext.Object.toQueryString</a>.</p>\n\n",
73       "private": false,
74       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
75       "linenr": 42,
76       "html_filename": "Action2.html",
77       "href": "Action2.html#Ext-form-action-Action-cfg-params",
78       "shortDoc": "Extra parameter values to pass. These are added to the Form's\nExt.form.Basic.baseParams and passed to the specified U..."
79     },
80     {
81       "tagname": "cfg",
82       "name": "reset",
83       "member": "Ext.form.action.Action",
84       "type": "Boolean",
85       "doc": "<p>When set to <tt><b>true</b></tt>, causes the Form to be\n<a href=\"#/api/Ext.form.Basic-method-reset\" rel=\"Ext.form.Basic-method-reset\" class=\"docClass\">reset</a> on Action success. If specified, this happens\nbefore the <a href=\"#/api/Ext.form.action.DirectLoad-cfg-success\" rel=\"Ext.form.action.DirectLoad-cfg-success\" class=\"docClass\">success</a> callback is called and before the Form's\n<a href=\"#/api/Ext.form.Basic-event-actioncomplete\" rel=\"Ext.form.Basic-event-actioncomplete\" class=\"docClass\">actioncomplete</a> event fires.</p>\n",
86       "private": false,
87       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
88       "linenr": 30,
89       "html_filename": "Action2.html",
90       "href": "Action2.html#Ext-form-action-Action-cfg-reset",
91       "shortDoc": "When set to true, causes the Form to be\nreset on Action success. If specified, this happens\nbefore the success callba..."
92     },
93     {
94       "tagname": "cfg",
95       "name": "scope",
96       "member": "Ext.form.action.Action",
97       "type": "Object",
98       "doc": "<p>The scope in which to call the configured <tt>success</tt> and <tt>failure</tt>\ncallback functions (the <tt>this</tt> reference for the callback functions).</p>\n",
99       "private": false,
100       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
101       "linenr": 81,
102       "html_filename": "Action2.html",
103       "href": "Action2.html#Ext-form-action-Action-cfg-scope",
104       "shortDoc": "The scope in which to call the configured success and failure\ncallback functions (the this reference for the callback..."
105     },
106     {
107       "tagname": "cfg",
108       "name": "submitEmptyText",
109       "member": "Ext.form.action.Action",
110       "type": "Boolean",
111       "doc": "<p>If set to <tt>true</tt>, the emptyText value will be sent with the form\nwhen it is submitted. Defaults to <tt>true</tt>.</p>\n",
112       "private": false,
113       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
114       "linenr": 96,
115       "html_filename": "Action2.html",
116       "href": "Action2.html#Ext-form-action-Action-cfg-submitEmptyText"
117     },
118     {
119       "tagname": "cfg",
120       "name": "success",
121       "member": "Ext.form.action.Action",
122       "type": "Function",
123       "doc": "<p>The function to call when a valid success return packet is received.\nThe function is passed the following parameters:<ul class=\"mdetail-params\">\n<li><b>form</b> : Ext.form.Basic<div class=\"sub-desc\">The form that requested the action</div></li>\n<li><b>action</b> : Ext.form.action.Action<div class=\"sub-desc\">The Action class. The <a href=\"#/api/Ext.form.action.DirectLoad-property-result\" rel=\"Ext.form.action.DirectLoad-property-result\" class=\"docClass\">result</a>\nproperty of this object may be examined to perform custom postprocessing.</div></li>\n</ul></p>\n",
124       "private": false,
125       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
126       "linenr": 61,
127       "html_filename": "Action2.html",
128       "href": "Action2.html#Ext-form-action-Action-cfg-success",
129       "shortDoc": "The function to call when a valid success return packet is received.\nThe function is passed the following parameters:..."
130     },
131     {
132       "tagname": "cfg",
133       "name": "timeout",
134       "member": "Ext.form.action.Action",
135       "type": "Number",
136       "doc": "<p>The number of seconds to wait for a server response before\nfailing with the <a href=\"#/api/Ext.form.action.DirectLoad-property-failureType\" rel=\"Ext.form.action.DirectLoad-property-failureType\" class=\"docClass\">failureType</a> as <a href=\"#/api/Ext.form.action.Action-property-CONNECT_FAILURE\" rel=\"Ext.form.action.Action-property-CONNECT_FAILURE\" class=\"docClass\">Ext.form.action.Action.CONNECT_FAILURE</a>. If not specified,\ndefaults to the configured <tt><a href=\"#/api/Ext.form.Basic-cfg-timeout\" rel=\"Ext.form.Basic-cfg-timeout\" class=\"docClass\">timeout</a></tt> of the\n<a href=\"#/api/Ext.form.action.DirectLoad-cfg-form\" rel=\"Ext.form.action.DirectLoad-cfg-form\" class=\"docClass\">form</a>.</p>\n",
137       "private": false,
138       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
139       "linenr": 54,
140       "html_filename": "Action2.html",
141       "href": "Action2.html#Ext-form-action-Action-cfg-timeout",
142       "shortDoc": "The number of seconds to wait for a server response before\nfailing with the failureType as Ext.form.action.Action.CON..."
143     },
144     {
145       "tagname": "cfg",
146       "name": "url",
147       "member": "Ext.form.action.Action",
148       "type": "String",
149       "doc": "<p>The URL that the Action is to invoke. Will default to the <a href=\"#/api/Ext.form.Basic-cfg-url\" rel=\"Ext.form.Basic-cfg-url\" class=\"docClass\">url</a>\nconfigured on the <a href=\"#/api/Ext.form.action.DirectLoad-cfg-form\" rel=\"Ext.form.action.DirectLoad-cfg-form\" class=\"docClass\">form</a>.</p>\n",
150       "private": false,
151       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
152       "linenr": 25,
153       "html_filename": "Action2.html",
154       "href": "Action2.html#Ext-form-action-Action-cfg-url"
155     },
156     {
157       "tagname": "cfg",
158       "name": "waitMsg",
159       "member": "Ext.form.action.Action",
160       "type": "String",
161       "doc": "<p>The message to be displayed by a call to <a href=\"#/api/Ext.window.MessageBox-method-wait\" rel=\"Ext.window.MessageBox-method-wait\" class=\"docClass\">Ext.window.MessageBox.wait</a>\nduring the time the action is being processed.</p>\n",
162       "private": false,
163       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
164       "linenr": 86,
165       "html_filename": "Action2.html",
166       "href": "Action2.html#Ext-form-action-Action-cfg-waitMsg"
167     },
168     {
169       "tagname": "cfg",
170       "name": "waitTitle",
171       "member": "Ext.form.action.Action",
172       "type": "String",
173       "doc": "<p>The title to be displayed by a call to <a href=\"#/api/Ext.window.MessageBox-method-wait\" rel=\"Ext.window.MessageBox-method-wait\" class=\"docClass\">Ext.window.MessageBox.wait</a>\nduring the time the action is being processed.</p>\n",
174       "private": false,
175       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
176       "linenr": 91,
177       "html_filename": "Action2.html",
178       "href": "Action2.html#Ext-form-action-Action-cfg-waitTitle"
179     }
180   ],
181   "method": [
182     {
183       "tagname": "method",
184       "name": "DirectLoad",
185       "member": "Ext.form.action.Action",
186       "doc": "\n",
187       "params": [
188         {
189           "type": "Object",
190           "name": "config",
191           "doc": "<p>The configuration for this instance.</p>\n",
192           "optional": false
193         }
194       ],
195       "return": {
196         "type": "void",
197         "doc": "\n"
198       },
199       "private": false,
200       "static": false,
201       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
202       "linenr": 1,
203       "html_filename": "Action2.html",
204       "href": "Action2.html#Ext-form-action-Action-method-constructor",
205       "shortDoc": "\n"
206     },
207     {
208       "tagname": "method",
209       "name": "callOverridden",
210       "member": "Ext.Base",
211       "doc": "<p>Call the original method that was previously overridden with <a href=\"#/api/Ext.Base-property-override\" rel=\"Ext.Base-property-override\" class=\"docClass\">Ext.Base.override</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n\n        return this;\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        var instance = this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n\n        return instance;\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
212       "params": [
213         {
214           "type": "Array/Arguments",
215           "name": "args",
216           "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
217           "optional": false
218         }
219       ],
220       "return": {
221         "type": "Mixed",
222         "doc": "<p>Returns the result after calling the overridden method</p>\n"
223       },
224       "private": false,
225       "static": false,
226       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
227       "linenr": 279,
228       "html_filename": "Base3.html",
229       "href": "Base3.html#Ext-Base-method-callOverridden",
230       "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo..."
231     },
232     {
233       "tagname": "method",
234       "name": "getName",
235       "member": "Ext.Base",
236       "doc": "<p>Get the current class' name in string format.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    constructor: function() {\n        alert(this.self.getName()); // alerts 'My.cool.Class'\n    }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n</code></pre>\n",
237       "params": [
238
239       ],
240       "return": {
241         "type": "String",
242         "doc": "<p>className</p>\n"
243       },
244       "private": false,
245       "static": false,
246       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
247       "linenr": 652,
248       "html_filename": "Base3.html",
249       "href": "Base3.html#Ext-Base-method-getName",
250       "shortDoc": "Get the current class' name in string format.\n\nExt.define('My.cool.Class', {\n    constructor: function() {\n        al..."
251     }
252   ],
253   "property": [
254     {
255       "tagname": "property",
256       "name": "CLIENT_INVALID",
257       "member": "Ext.form.action.Action",
258       "type": "String",
259       "doc": "<p>Failure type returned when client side validation of the Form fails\nthus aborting a submit action. Client side validation is performed unless\n<a href=\"#/api/Ext.form.action.Submit-cfg-clientValidation\" rel=\"Ext.form.action.Submit-cfg-clientValidation\" class=\"docClass\">Ext.form.action.Submit.clientValidation</a> is explicitly set to <tt>false</tt>.</p>\n",
260       "private": false,
261       "static": true,
262       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
263       "linenr": 271,
264       "html_filename": "Action2.html",
265       "href": "Action2.html#Ext-form-action-Action-property-CLIENT_INVALID",
266       "shortDoc": "Failure type returned when client side validation of the Form fails\nthus aborting a submit action. Client side valida..."
267     },
268     {
269       "tagname": "property",
270       "name": "CONNECT_FAILURE",
271       "member": "Ext.form.action.Action",
272       "type": "String",
273       "doc": "<p>Failure type returned when a communication error happens when attempting\nto send a request to the remote server. The <a href=\"#/api/Ext.form.action.DirectLoad-property-response\" rel=\"Ext.form.action.DirectLoad-property-response\" class=\"docClass\">response</a> may be examined to\nprovide further information.</p>\n",
274       "private": false,
275       "static": true,
276       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
277       "linenr": 292,
278       "html_filename": "Action2.html",
279       "href": "Action2.html#Ext-form-action-Action-property-CONNECT_FAILURE",
280       "shortDoc": "Failure type returned when a communication error happens when attempting\nto send a request to the remote server. The ..."
281     },
282     {
283       "tagname": "property",
284       "name": "LOAD_FAILURE",
285       "member": "Ext.form.action.Action",
286       "type": "String",
287       "doc": "<p>Failure type returned when the response's <tt>success</tt>\nproperty is set to <tt>false</tt>, or no field values are returned in the response's\n<tt>data</tt> property.</p>\n",
288       "private": false,
289       "static": true,
290       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
291       "linenr": 302,
292       "html_filename": "Action2.html",
293       "href": "Action2.html#Ext-form-action-Action-property-LOAD_FAILURE",
294       "shortDoc": "Failure type returned when the response's success\nproperty is set to false, or no field values are returned in the re..."
295     },
296     {
297       "tagname": "property",
298       "name": "SERVER_INVALID",
299       "member": "Ext.form.action.Action",
300       "type": "String",
301       "doc": "<p>Failure type returned when server side processing fails and the <a href=\"#/api/Ext.form.action.DirectLoad-property-result\" rel=\"Ext.form.action.DirectLoad-property-result\" class=\"docClass\">result</a>'s\n<tt>success</tt> property is set to <tt>false</tt>.</p>\n\n\n<p>In the case of a form submission, field-specific error messages may be returned in the\n<a href=\"#/api/Ext.form.action.DirectLoad-property-result\" rel=\"Ext.form.action.DirectLoad-property-result\" class=\"docClass\">result</a>'s <tt>errors</tt> property.</p>\n\n",
302       "private": false,
303       "static": true,
304       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
305       "linenr": 281,
306       "html_filename": "Action2.html",
307       "href": "Action2.html#Ext-form-action-Action-property-SERVER_INVALID",
308       "shortDoc": "Failure type returned when server side processing fails and the result's\nsuccess property is set to false.\n\n\nIn the c..."
309     },
310     {
311       "tagname": "property",
312       "name": "addStatics",
313       "member": "Ext.Base",
314       "type": "Function",
315       "doc": "<p>Add / override static properties of this class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.addStatics({\n    someProperty: 'someValue',      // My.cool.Class.someProperty = 'someValue'\n    method1: function() { ... },    // My.cool.Class.method1 = function() { ... };\n    method2: function() { ... }     // My.cool.Class.method2 = function() { ... };\n});\n</code></pre>\n",
316       "private": false,
317       "static": true,
318       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
319       "linenr": 399,
320       "html_filename": "Base3.html",
321       "href": "Base3.html#Ext-Base-property-addStatics",
322       "shortDoc": "Add / override static properties of this class.\n\nExt.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.addStatics(..."
323     },
324     {
325       "tagname": "property",
326       "name": "borrow",
327       "member": "Ext.Base",
328       "type": "Function",
329       "doc": "<p>Borrow another class' members to the prototype of this class.</p>\n\n<pre><code>Ext.define('Bank', {\n    money: '$$$',\n    printMoney: function() {\n        alert('$$$$$$$');\n    }\n});\n\nExt.define('Thief', {\n    ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n</code></pre>\n",
330       "private": false,
331       "static": true,
332       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
333       "linenr": 492,
334       "html_filename": "Base3.html",
335       "href": "Base3.html#Ext-Base-property-borrow",
336       "shortDoc": "Borrow another class' members to the prototype of this class.\n\nExt.define('Bank', {\n    money: '$$$',\n    printMoney:..."
337     },
338     {
339       "tagname": "property",
340       "name": "create",
341       "member": "Ext.Base",
342       "type": "Function",
343       "doc": "<p>Create a new instance of this Class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n</code></pre>\n",
344       "private": false,
345       "static": true,
346       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
347       "linenr": 340,
348       "html_filename": "Base3.html",
349       "href": "Base3.html#Ext-Base-property-create",
350       "shortDoc": "Create a new instance of this Class.\n\nExt.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfi..."
351     },
352     {
353       "tagname": "property",
354       "name": "createAlias",
355       "member": "Ext.Base",
356       "type": "Function",
357       "doc": "<p>Create aliases for existing prototype methods. Example:</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    method1: function() { ... },\n    method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n    method3: 'method1',\n    method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -&gt; test.method1()\n</code></pre>\n",
358       "private": false,
359       "static": true,
360       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
361       "linenr": 670,
362       "html_filename": "Base3.html",
363       "href": "Base3.html#Ext-Base-property-createAlias",
364       "shortDoc": "Create aliases for existing prototype methods. Example:\n\nExt.define('My.cool.Class', {\n    method1: function() { ... ..."
365     },
366     {
367       "tagname": "property",
368       "name": "failureType",
369       "member": "Ext.form.action.Action",
370       "type": "String",
371       "doc": "<p>The type of failure detected will be one of these: <a href=\"#/api/Ext.form.action.Action-property-CLIENT_INVALID\" rel=\"Ext.form.action.Action-property-CLIENT_INVALID\" class=\"docClass\">Ext.form.action.Action.CLIENT_INVALID</a>,\n<a href=\"#/api/Ext.form.action.Action-property-SERVER_INVALID\" rel=\"Ext.form.action.Action-property-SERVER_INVALID\" class=\"docClass\">Ext.form.action.Action.SERVER_INVALID</a>, <a href=\"#/api/Ext.form.action.Action-property-CONNECT_FAILURE\" rel=\"Ext.form.action.Action-property-CONNECT_FAILURE\" class=\"docClass\">Ext.form.action.Action.CONNECT_FAILURE</a>, or\n<a href=\"#/api/Ext.form.action.Action-property-LOAD_FAILURE\" rel=\"Ext.form.action.Action-property-LOAD_FAILURE\" class=\"docClass\">Ext.form.action.Action.LOAD_FAILURE</a>.  Usage:</p>\n\n<pre><code>var fp = new Ext.form.Panel({\n...\nbuttons: [{\n    text: 'Save',\n    formBind: true,\n    handler: function(){\n        if(fp.getForm().isValid()){\n            fp.getForm().submit({\n                url: 'form-submit.php',\n                waitMsg: 'Submitting your data...',\n                success: function(form, action){\n                    // server responded with success = true\n                    var result = action.<a href=\"#/api/Ext.form.action.DirectLoad-property-result\" rel=\"Ext.form.action.DirectLoad-property-result\" class=\"docClass\">result</a>;\n                },\n                failure: function(form, action){\n                    if (action.<a href=\"#/api/Ext.form.action.DirectLoad-property-failureType\" rel=\"Ext.form.action.DirectLoad-property-failureType\" class=\"docClass\">failureType</a> === <a href=\"#/api/Ext.form.action.Action-property-CONNECT_FAILURE\" rel=\"Ext.form.action.Action-property-CONNECT_FAILURE\" class=\"docClass\">Ext.form.action.Action.CONNECT_FAILURE</a>) {\n                        Ext.Msg.alert('Error',\n                            'Status:'+action.<a href=\"#/api/Ext.form.action.DirectLoad-property-response\" rel=\"Ext.form.action.DirectLoad-property-response\" class=\"docClass\">response</a>.status+': '+\n                            action.<a href=\"#/api/Ext.form.action.DirectLoad-property-response\" rel=\"Ext.form.action.DirectLoad-property-response\" class=\"docClass\">response</a>.statusText);\n                    }\n                    if (action.failureType === <a href=\"#/api/Ext.form.action.Action-property-SERVER_INVALID\" rel=\"Ext.form.action.Action-property-SERVER_INVALID\" class=\"docClass\">Ext.form.action.Action.SERVER_INVALID</a>){\n                        // server responded with success = false\n                        Ext.Msg.alert('Invalid', action.<a href=\"#/api/Ext.form.action.DirectLoad-property-result\" rel=\"Ext.form.action.DirectLoad-property-result\" class=\"docClass\">result</a>.errormsg);\n                    }\n                }\n            });\n        }\n    }\n},{\n    text: 'Reset',\n    handler: function(){\n        fp.getForm().reset();\n    }\n}]\n</code></pre>\n\n",
372       "private": false,
373       "static": false,
374       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
375       "linenr": 108,
376       "html_filename": "Action2.html",
377       "href": "Action2.html#Ext-form-action-Action-property-failureType",
378       "shortDoc": "The type of failure detected will be one of these: Ext.form.action.Action.CLIENT_INVALID,\nExt.form.action.Action.SERV..."
379     },
380     {
381       "tagname": "property",
382       "name": "implement",
383       "member": "Ext.Base",
384       "type": "Function",
385       "doc": "<p>Add methods / properties to the prototype of this class.</p>\n\n<pre><code>Ext.define('My.awesome.Cat', {\n    constructor: function() {\n        ...\n    }\n});\n\n My.awesome.Cat.implement({\n     meow: function() {\n        alert('Meowww...');\n     }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n</code></pre>\n",
386       "private": false,
387       "static": true,
388       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
389       "linenr": 428,
390       "html_filename": "Base3.html",
391       "href": "Base3.html#Ext-Base-property-implement",
392       "shortDoc": "Add methods / properties to the prototype of this class.\n\nExt.define('My.awesome.Cat', {\n    constructor: function() ..."
393     },
394     {
395       "tagname": "property",
396       "name": "override",
397       "member": "Ext.Base",
398       "type": "Function",
399       "doc": "<p>Override prototype members of this class. Overridden methods can be invoked via\n<a href=\"#/api/Ext.Base-method-callOverridden\" rel=\"Ext.Base-method-callOverridden\" class=\"docClass\">Ext.Base.callOverridden</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n\n        return this;\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        var instance = this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n\n        return instance;\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
400       "private": false,
401       "static": true,
402       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
403       "linenr": 536,
404       "html_filename": "Base3.html",
405       "href": "Base3.html#Ext-Base-property-override",
406       "shortDoc": "Override prototype members of this class. Overridden methods can be invoked via\nExt.Base.callOverridden\n\nExt.define('..."
407     },
408     {
409       "tagname": "property",
410       "name": "response",
411       "member": "Ext.form.action.Action",
412       "type": "Object",
413       "doc": "<p>The raw XMLHttpRequest object used to perform the action.</p>\n",
414       "private": false,
415       "static": false,
416       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
417       "linenr": 152,
418       "html_filename": "Action2.html",
419       "href": "Action2.html#Ext-form-action-Action-property-response"
420     },
421     {
422       "tagname": "property",
423       "name": "result",
424       "member": "Ext.form.action.Action",
425       "type": "Object",
426       "doc": "<p>The decoded response object containing a boolean <tt>success</tt> property and\nother, action-specific properties.</p>\n",
427       "private": false,
428       "static": false,
429       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
430       "linenr": 158,
431       "html_filename": "Action2.html",
432       "href": "Action2.html#Ext-form-action-Action-property-result"
433     },
434     {
435       "tagname": "property",
436       "name": "run",
437       "member": "Ext.form.action.Action",
438       "type": "Object",
439       "doc": "<p>Invokes this action using the current configuration.</p>\n",
440       "private": false,
441       "static": false,
442       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
443       "linenr": 179,
444       "html_filename": "Action2.html",
445       "href": "Action2.html#Ext-form-action-Action-property-run"
446     },
447     {
448       "tagname": "property",
449       "name": "type",
450       "member": "Ext.form.action.Action",
451       "type": "String",
452       "doc": "<p>The type of action this Action instance performs.\nCurrently only \"submit\" and \"load\" are supported.</p>\n",
453       "private": false,
454       "static": false,
455       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
456       "linenr": 101,
457       "html_filename": "Action2.html",
458       "href": "Action2.html#Ext-form-action-Action-property-type"
459     }
460   ],
461   "event": [
462
463   ],
464   "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/DirectLoad.js",
465   "linenr": 1,
466   "html_filename": "DirectLoad.html",
467   "href": "DirectLoad.html#Ext-form-action-DirectLoad",
468   "cssVar": [
469
470   ],
471   "cssMixin": [
472
473   ],
474   "component": false,
475   "superclasses": [
476     "Ext.Base",
477     "Ext.form.action.Action",
478     "Ext.form.action.Load"
479   ],
480   "subclasses": [
481
482   ],
483   "mixedInto": [
484
485   ],
486   "allMixins": [
487
488   ]
489 });