Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.form.action.DirectLoad.js
1 Ext.data.JsonP.Ext_form_action_DirectLoad({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9       {
10         "type": "Function",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
15         "href": "Action.html#Ext-form-action-Action-cfg-failure",
16         "shortDoc": "The function to call when a failure packet was received, or when an\nerror ocurred in the Ajax communication. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
19         "private": false,
20         "name": "failure",
21         "owner": "Ext.form.action.Action",
22         "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",
23         "linenr": 68,
24         "html_filename": "Action.html"
25       },
26       {
27         "type": "Ext.form.Basic",
28         "deprecated": null,
29         "alias": null,
30         "protected": false,
31         "tagname": "cfg",
32         "href": "Action.html#Ext-form-action-Action-cfg-form",
33         "shortDoc": "The BasicForm instance that\nis invoking this Action. ...",
34         "static": false,
35         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
36         "private": false,
37         "name": "form",
38         "owner": "Ext.form.action.Action",
39         "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",
40         "linenr": 18,
41         "html_filename": "Action.html"
42       },
43       {
44         "type": "Object",
45         "deprecated": null,
46         "alias": null,
47         "protected": false,
48         "tagname": "cfg",
49         "href": "Action.html#Ext-form-action-Action-cfg-headers",
50         "shortDoc": "Extra headers to be sent in the AJAX request for submit and load actions. ...",
51         "static": false,
52         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
53         "private": false,
54         "name": "headers",
55         "owner": "Ext.form.action.Action",
56         "doc": "<p>Extra headers to be sent in the AJAX request for submit and load actions. See\nExt.data.Connection.headers.</p>\n\n",
57         "linenr": 47,
58         "html_filename": "Action.html"
59       },
60       {
61         "type": "String",
62         "deprecated": null,
63         "alias": null,
64         "protected": false,
65         "tagname": "cfg",
66         "href": "Action.html#Ext-form-action-Action-cfg-method",
67         "shortDoc": "The HTTP method to use to access the requested URL. ...",
68         "static": false,
69         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
70         "private": false,
71         "name": "method",
72         "owner": "Ext.form.action.Action",
73         "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",
74         "linenr": 35,
75         "html_filename": "Action.html"
76       },
77       {
78         "type": "Object/String",
79         "deprecated": null,
80         "alias": null,
81         "protected": false,
82         "tagname": "cfg",
83         "href": "Action.html#Ext-form-action-Action-cfg-params",
84         "shortDoc": "Extra parameter values to pass. ...",
85         "static": false,
86         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
87         "private": false,
88         "name": "params",
89         "owner": "Ext.form.action.Action",
90         "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",
91         "linenr": 40,
92         "html_filename": "Action.html"
93       },
94       {
95         "type": "Boolean",
96         "deprecated": null,
97         "alias": null,
98         "protected": false,
99         "tagname": "cfg",
100         "href": "Action.html#Ext-form-action-Action-cfg-reset",
101         "shortDoc": "When set to true, causes the Form to be\nreset on Action success. ...",
102         "static": false,
103         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
104         "private": false,
105         "name": "reset",
106         "owner": "Ext.form.action.Action",
107         "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",
108         "linenr": 28,
109         "html_filename": "Action.html"
110       },
111       {
112         "type": "Object",
113         "deprecated": null,
114         "alias": null,
115         "protected": false,
116         "tagname": "cfg",
117         "href": "Action.html#Ext-form-action-Action-cfg-scope",
118         "shortDoc": "The scope in which to call the configured success and failure\ncallback functions (the this reference for the callback...",
119         "static": false,
120         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
121         "private": false,
122         "name": "scope",
123         "owner": "Ext.form.action.Action",
124         "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",
125         "linenr": 79,
126         "html_filename": "Action.html"
127       },
128       {
129         "type": "Boolean",
130         "deprecated": null,
131         "alias": null,
132         "protected": false,
133         "tagname": "cfg",
134         "href": "Action.html#Ext-form-action-Action-cfg-submitEmptyText",
135         "shortDoc": "If set to true, the emptyText value will be sent with the form\nwhen it is submitted. ...",
136         "static": false,
137         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
138         "private": false,
139         "name": "submitEmptyText",
140         "owner": "Ext.form.action.Action",
141         "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",
142         "linenr": 94,
143         "html_filename": "Action.html"
144       },
145       {
146         "type": "Function",
147         "deprecated": null,
148         "alias": null,
149         "protected": false,
150         "tagname": "cfg",
151         "href": "Action.html#Ext-form-action-Action-cfg-success",
152         "shortDoc": "The function to call when a valid success return packet is received. ...",
153         "static": false,
154         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
155         "private": false,
156         "name": "success",
157         "owner": "Ext.form.action.Action",
158         "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",
159         "linenr": 59,
160         "html_filename": "Action.html"
161       },
162       {
163         "type": "Number",
164         "deprecated": null,
165         "alias": null,
166         "protected": false,
167         "tagname": "cfg",
168         "href": "Action.html#Ext-form-action-Action-cfg-timeout",
169         "shortDoc": "The number of seconds to wait for a server response before\nfailing with the failureType as Ext.form.action.Action.CON...",
170         "static": false,
171         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
172         "private": false,
173         "name": "timeout",
174         "owner": "Ext.form.action.Action",
175         "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",
176         "linenr": 52,
177         "html_filename": "Action.html"
178       },
179       {
180         "type": "String",
181         "deprecated": null,
182         "alias": null,
183         "protected": false,
184         "tagname": "cfg",
185         "href": "Action.html#Ext-form-action-Action-cfg-url",
186         "shortDoc": "The URL that the Action is to invoke. ...",
187         "static": false,
188         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
189         "private": false,
190         "name": "url",
191         "owner": "Ext.form.action.Action",
192         "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",
193         "linenr": 23,
194         "html_filename": "Action.html"
195       },
196       {
197         "type": "String",
198         "deprecated": null,
199         "alias": null,
200         "protected": false,
201         "tagname": "cfg",
202         "href": "Action.html#Ext-form-action-Action-cfg-waitMsg",
203         "static": false,
204         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
205         "private": false,
206         "name": "waitMsg",
207         "owner": "Ext.form.action.Action",
208         "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",
209         "linenr": 84,
210         "html_filename": "Action.html"
211       },
212       {
213         "type": "String",
214         "deprecated": null,
215         "alias": null,
216         "protected": false,
217         "tagname": "cfg",
218         "href": "Action.html#Ext-form-action-Action-cfg-waitTitle",
219         "static": false,
220         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
221         "private": false,
222         "name": "waitTitle",
223         "owner": "Ext.form.action.Action",
224         "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",
225         "linenr": 89,
226         "html_filename": "Action.html"
227       }
228     ],
229     "method": [
230       {
231         "deprecated": null,
232         "alias": null,
233         "href": "Action.html#Ext-form-action-Action-method-constructor",
234         "tagname": "method",
235         "protected": false,
236         "shortDoc": "Creates new Action. ...",
237         "static": false,
238         "params": [
239           {
240             "type": "Object",
241             "optional": true,
242             "doc": "<p>(optional) Config object.</p>\n",
243             "name": "config"
244           }
245         ],
246         "private": false,
247         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
248         "doc": "<p>Creates new Action.</p>\n",
249         "owner": "Ext.form.action.Action",
250         "name": "DirectLoad",
251         "html_filename": "Action.html",
252         "return": {
253           "type": "Object",
254           "doc": "\n"
255         },
256         "linenr": 163
257       },
258       {
259         "deprecated": null,
260         "alias": null,
261         "protected": false,
262         "tagname": "method",
263         "href": "Base3.html#Ext-Base-method-addStatics",
264         "shortDoc": "Add / override static properties of this class. ...",
265         "static": true,
266         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
267         "private": false,
268         "params": [
269           {
270             "type": "Object",
271             "optional": false,
272             "doc": "\n",
273             "name": "members"
274           }
275         ],
276         "name": "addStatics",
277         "owner": "Ext.Base",
278         "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",
279         "linenr": 388,
280         "return": {
281           "type": "Ext.Base",
282           "doc": "<p>this</p>\n"
283         },
284         "html_filename": "Base3.html"
285       },
286       {
287         "deprecated": null,
288         "alias": null,
289         "protected": false,
290         "tagname": "method",
291         "href": "Base3.html#Ext-Base-method-callOverridden",
292         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
293         "static": false,
294         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
295         "private": false,
296         "params": [
297           {
298             "type": "Array/Arguments",
299             "optional": false,
300             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
301             "name": "args"
302           }
303         ],
304         "name": "callOverridden",
305         "owner": "Ext.Base",
306         "doc": "<p>Call the original method that was previously overridden with <a href=\"#/api/Ext.Base-method-override\" rel=\"Ext.Base-method-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",
307         "linenr": 269,
308         "return": {
309           "type": "Mixed",
310           "doc": "<p>Returns the result after calling the overridden method</p>\n"
311         },
312         "html_filename": "Base3.html"
313       },
314       {
315         "deprecated": null,
316         "alias": null,
317         "protected": true,
318         "tagname": "method",
319         "href": "Base3.html#Ext-Base-method-callParent",
320         "shortDoc": "Call the parent's overridden method. ...",
321         "static": false,
322         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
323         "private": false,
324         "params": [
325           {
326             "type": "Array/Arguments",
327             "optional": false,
328             "doc": "<p>The arguments, either an array or the <code>arguments</code> object\nfrom the current method, for example: <code>this.callParent(arguments)</code></p>\n",
329             "name": "args"
330           }
331         ],
332         "name": "callParent",
333         "owner": "Ext.Base",
334         "doc": "<p>Call the parent's overridden method. For example:</p>\n\n<pre><code>Ext.define('My.own.A', {\n    constructor: function(test) {\n        alert(test);\n    }\n});\n\nExt.define('My.own.B', {\n    extend: 'My.own.A',\n\n    constructor: function(test) {\n        alert(test);\n\n        this.callParent([test + 1]);\n    }\n});\n\nExt.define('My.own.C', {\n    extend: 'My.own.B',\n\n    constructor: function() {\n        alert(\"Going to call parent's overriden constructor...\");\n\n        this.callParent(arguments);\n    }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n                         // alerts '2', then alerts '3'\n</code></pre>\n",
335         "linenr": 124,
336         "return": {
337           "type": "Mixed",
338           "doc": "<p>Returns the result from the superclass' method</p>\n"
339         },
340         "html_filename": "Base3.html"
341       },
342       {
343         "deprecated": null,
344         "alias": null,
345         "protected": false,
346         "tagname": "method",
347         "href": "Base3.html#Ext-Base-method-create",
348         "shortDoc": "Create a new instance of this Class. ...",
349         "static": true,
350         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
351         "private": false,
352         "params": [
353
354         ],
355         "name": "create",
356         "owner": "Ext.Base",
357         "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\n<p>All parameters are passed to the constructor of the class.</p>\n",
358         "linenr": 329,
359         "return": {
360           "type": "Object",
361           "doc": "<p>the created instance.</p>\n"
362         },
363         "html_filename": "Base3.html"
364       },
365       {
366         "deprecated": null,
367         "alias": null,
368         "protected": false,
369         "tagname": "method",
370         "href": "Base3.html#Ext-Base-method-createAlias",
371         "shortDoc": "Create aliases for existing prototype methods. ...",
372         "static": true,
373         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
374         "private": false,
375         "params": [
376           {
377             "type": "String/Object",
378             "optional": false,
379             "doc": "<p>The new method name, or an object to set multiple aliases. See\n<a href=\"#/api/Ext.Function-method-flexSetter\" rel=\"Ext.Function-method-flexSetter\" class=\"docClass\">flexSetter</a></p>\n",
380             "name": "alias"
381           },
382           {
383             "type": "String/Object",
384             "optional": false,
385             "doc": "<p>The original method name</p>\n",
386             "name": "origin"
387           }
388         ],
389         "name": "createAlias",
390         "owner": "Ext.Base",
391         "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",
392         "linenr": 648,
393         "return": {
394           "type": "void",
395           "doc": "\n"
396         },
397         "html_filename": "Base3.html"
398       },
399       {
400         "deprecated": null,
401         "alias": null,
402         "protected": false,
403         "tagname": "method",
404         "href": "Base3.html#Ext-Base-method-getName",
405         "shortDoc": "Get the current class' name in string format. ...",
406         "static": false,
407         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
408         "private": false,
409         "params": [
410
411         ],
412         "name": "getName",
413         "owner": "Ext.Base",
414         "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",
415         "linenr": 631,
416         "return": {
417           "type": "String",
418           "doc": "<p>className</p>\n"
419         },
420         "html_filename": "Base3.html"
421       },
422       {
423         "deprecated": null,
424         "alias": null,
425         "protected": false,
426         "tagname": "method",
427         "href": "Base3.html#Ext-Base-method-implement",
428         "shortDoc": "Add methods / properties to the prototype of this class. ...",
429         "static": true,
430         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
431         "private": false,
432         "params": [
433           {
434             "type": "Object",
435             "optional": false,
436             "doc": "\n",
437             "name": "members"
438           }
439         ],
440         "name": "implement",
441         "owner": "Ext.Base",
442         "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",
443         "linenr": 415,
444         "return": {
445           "type": "void",
446           "doc": "\n"
447         },
448         "html_filename": "Base3.html"
449       },
450       {
451         "deprecated": null,
452         "alias": null,
453         "protected": true,
454         "tagname": "method",
455         "href": "Base3.html#Ext-Base-method-initConfig",
456         "shortDoc": "Initialize configuration for this class. ...",
457         "static": false,
458         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
459         "private": false,
460         "params": [
461           {
462             "type": "Object",
463             "optional": false,
464             "doc": "\n",
465             "name": "config"
466           }
467         ],
468         "name": "initConfig",
469         "owner": "Ext.Base",
470         "doc": "<p>Initialize configuration for this class. a typical example:</p>\n\n<pre><code>Ext.define('My.awesome.Class', {\n    // The default config\n    config: {\n        name: 'Awesome',\n        isAwesome: true\n    },\n\n    constructor: function(config) {\n        this.initConfig(config);\n\n        return this;\n    }\n});\n\nvar awesome = new My.awesome.Class({\n    name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n</code></pre>\n",
471         "linenr": 63,
472         "return": {
473           "type": "Object",
474           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
475         },
476         "html_filename": "Base3.html"
477       },
478       {
479         "deprecated": null,
480         "alias": null,
481         "protected": false,
482         "tagname": "method",
483         "href": "Base3.html#Ext-Base-method-override",
484         "shortDoc": "Override prototype members of this class. ...",
485         "static": true,
486         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
487         "private": false,
488         "params": [
489           {
490             "type": "Object",
491             "optional": false,
492             "doc": "\n",
493             "name": "members"
494           }
495         ],
496         "name": "override",
497         "owner": "Ext.Base",
498         "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",
499         "linenr": 518,
500         "return": {
501           "type": "Ext.Base",
502           "doc": "<p>this</p>\n"
503         },
504         "html_filename": "Base3.html"
505       },
506       {
507         "deprecated": null,
508         "alias": null,
509         "protected": true,
510         "tagname": "method",
511         "href": "Base3.html#Ext-Base-method-statics",
512         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
513         "static": false,
514         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
515         "private": false,
516         "params": [
517
518         ],
519         "name": "statics",
520         "owner": "Ext.Base",
521         "doc": "<p>Get the reference to the class from which this object was instantiated. Note that unlike <a href=\"#/api/Ext.Base-property-self\" rel=\"Ext.Base-property-self\" class=\"docClass\">Ext.Base.self</a>,\n<code>this.statics()</code> is scope-independent and it always returns the class from which it was called, regardless of what\n<code>this</code> points to during run-time</p>\n\n<pre><code>Ext.define('My.Cat', {\n    statics: {\n        totalCreated: 0,\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        var statics = this.statics();\n\n        alert(statics.speciesName);     // always equals to 'Cat' no matter what 'this' refers to\n                                        // equivalent to: My.Cat.speciesName\n\n        alert(this.self.speciesName);   // dependent on 'this'\n\n        statics.totalCreated++;\n\n        return this;\n    },\n\n    clone: function() {\n        var cloned = new this.self;                      // dependent on 'this'\n\n        cloned.groupName = this.statics().speciesName;   // equivalent to: My.Cat.speciesName\n\n        return cloned;\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n\n    statics: {\n        speciesName: 'Snow Leopard'     // My.SnowLeopard.speciesName = 'Snow Leopard'\n    },\n\n    constructor: function() {\n        this.callParent();\n    }\n});\n\nvar cat = new My.Cat();                 // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));         // alerts 'My.SnowLeopard'\nalert(clone.groupName);                 // alerts 'Cat'\n\nalert(My.Cat.totalCreated);             // alerts 3\n</code></pre>\n",
522         "linenr": 199,
523         "return": {
524           "type": "Class",
525           "doc": "\n"
526         },
527         "html_filename": "Base3.html"
528       }
529     ],
530     "property": [
531       {
532         "type": "String",
533         "deprecated": null,
534         "alias": null,
535         "protected": false,
536         "tagname": "property",
537         "href": "Action.html#Ext-form-action-Action-property-CLIENT_INVALID",
538         "shortDoc": "Failure type returned when client side validation of the Form fails\nthus aborting a submit action. ...",
539         "static": true,
540         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
541         "private": false,
542         "name": "CLIENT_INVALID",
543         "owner": "Ext.form.action.Action",
544         "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",
545         "linenr": 271,
546         "html_filename": "Action.html"
547       },
548       {
549         "type": "String",
550         "deprecated": null,
551         "alias": null,
552         "protected": false,
553         "tagname": "property",
554         "href": "Action.html#Ext-form-action-Action-property-CONNECT_FAILURE",
555         "shortDoc": "Failure type returned when a communication error happens when attempting\nto send a request to the remote server. ...",
556         "static": true,
557         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
558         "private": false,
559         "name": "CONNECT_FAILURE",
560         "owner": "Ext.form.action.Action",
561         "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",
562         "linenr": 292,
563         "html_filename": "Action.html"
564       },
565       {
566         "type": "String",
567         "deprecated": null,
568         "alias": null,
569         "protected": false,
570         "tagname": "property",
571         "href": "Action.html#Ext-form-action-Action-property-LOAD_FAILURE",
572         "shortDoc": "Failure type returned when the response's success\nproperty is set to false, or no field values are returned in the re...",
573         "static": true,
574         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
575         "private": false,
576         "name": "LOAD_FAILURE",
577         "owner": "Ext.form.action.Action",
578         "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",
579         "linenr": 302,
580         "html_filename": "Action.html"
581       },
582       {
583         "type": "String",
584         "deprecated": null,
585         "alias": null,
586         "protected": false,
587         "tagname": "property",
588         "href": "Action.html#Ext-form-action-Action-property-SERVER_INVALID",
589         "shortDoc": "Failure type returned when server side processing fails and the result's\nsuccess property is set to false. ...",
590         "static": true,
591         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
592         "private": false,
593         "name": "SERVER_INVALID",
594         "owner": "Ext.form.action.Action",
595         "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",
596         "linenr": 281,
597         "html_filename": "Action.html"
598       },
599       {
600         "type": "String",
601         "deprecated": null,
602         "alias": null,
603         "protected": false,
604         "tagname": "property",
605         "href": "Action.html#Ext-form-action-Action-property-failureType",
606         "shortDoc": "The type of failure detected will be one of these: Ext.form.action.Action.CLIENT_INVALID,\nExt.form.action.Action.SERV...",
607         "static": false,
608         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
609         "private": false,
610         "name": "failureType",
611         "owner": "Ext.form.action.Action",
612         "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",
613         "linenr": 106,
614         "html_filename": "Action.html"
615       },
616       {
617         "type": "Object",
618         "deprecated": null,
619         "alias": null,
620         "protected": false,
621         "tagname": "property",
622         "href": "Action.html#Ext-form-action-Action-property-response",
623         "static": false,
624         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
625         "private": false,
626         "name": "response",
627         "owner": "Ext.form.action.Action",
628         "doc": "<p>The raw XMLHttpRequest object used to perform the action.</p>\n",
629         "linenr": 150,
630         "html_filename": "Action.html"
631       },
632       {
633         "type": "Object",
634         "deprecated": null,
635         "alias": null,
636         "protected": false,
637         "tagname": "property",
638         "href": "Action.html#Ext-form-action-Action-property-result",
639         "static": false,
640         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
641         "private": false,
642         "name": "result",
643         "owner": "Ext.form.action.Action",
644         "doc": "<p>The decoded response object containing a boolean <tt>success</tt> property and\nother, action-specific properties.</p>\n",
645         "linenr": 156,
646         "html_filename": "Action.html"
647       },
648       {
649         "type": "Object",
650         "deprecated": null,
651         "alias": null,
652         "protected": false,
653         "tagname": "property",
654         "href": "Action.html#Ext-form-action-Action-property-run",
655         "static": false,
656         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
657         "private": false,
658         "name": "run",
659         "owner": "Ext.form.action.Action",
660         "doc": "<p>Invokes this action using the current configuration.</p>\n",
661         "linenr": 179,
662         "html_filename": "Action.html"
663       },
664       {
665         "type": "Class",
666         "deprecated": null,
667         "alias": null,
668         "protected": true,
669         "tagname": "property",
670         "href": "Base3.html#Ext-Base-property-self",
671         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
672         "static": false,
673         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
674         "private": false,
675         "name": "self",
676         "owner": "Ext.Base",
677         "doc": "<p>Get the reference to the current class from which this object was instantiated. Unlike <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>,\n<code>this.self</code> is scope-dependent and it's meant to be used for dynamic inheritance. See <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>\nfor a detailed comparison</p>\n\n<pre><code>Ext.define('My.Cat', {\n    statics: {\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        alert(this.self.speciesName); / dependent on 'this'\n\n        return this;\n    },\n\n    clone: function() {\n        return new this.self();\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n    statics: {\n        speciesName: 'Snow Leopard'         // My.SnowLeopard.speciesName = 'Snow Leopard'\n    }\n});\n\nvar cat = new My.Cat();                     // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard();     // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));             // alerts 'My.SnowLeopard'\n</code></pre>\n",
678         "linenr": 18,
679         "html_filename": "Base3.html"
680       },
681       {
682         "type": "String",
683         "deprecated": null,
684         "alias": null,
685         "protected": false,
686         "tagname": "property",
687         "href": "Action.html#Ext-form-action-Action-property-type",
688         "shortDoc": "The type of action this Action instance performs. ...",
689         "static": false,
690         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
691         "private": false,
692         "name": "type",
693         "owner": "Ext.form.action.Action",
694         "doc": "<p>The type of action this Action instance performs.\nCurrently only \"submit\" and \"load\" are supported.</p>\n",
695         "linenr": 99,
696         "html_filename": "Action.html"
697       }
698     ],
699     "cssVar": [
700
701     ],
702     "cssMixin": [
703
704     ],
705     "event": [
706
707     ]
708   },
709   "singleton": false,
710   "alias": null,
711   "superclasses": [
712     "Ext.Base",
713     "Ext.form.action.Action",
714     "Ext.form.action.Load"
715   ],
716   "protected": false,
717   "tagname": "class",
718   "mixins": [
719
720   ],
721   "href": "DirectLoad.html#Ext-form-action-DirectLoad",
722   "subclasses": [
723
724   ],
725   "static": false,
726   "author": null,
727   "component": false,
728   "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/DirectLoad.js",
729   "private": false,
730   "alternateClassNames": [
731     "Ext.form.Action.DirectLoad"
732   ],
733   "name": "Ext.form.action.DirectLoad",
734   "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",
735   "mixedInto": [
736
737   ],
738   "linenr": 1,
739   "xtypes": [
740
741   ],
742   "html_filename": "DirectLoad.html",
743   "extends": "Ext.form.action.Load"
744 });