Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / output / Ext.form.action.StandardSubmit.js
1 Ext.data.JsonP.Ext_form_action_StandardSubmit({
2   "tagname": "class",
3   "name": "Ext.form.action.StandardSubmit",
4   "doc": "<p>A class which handles submission of data from <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Form</a>s using a standard\n<tt>&lt;form&gt;</tt> element submit. It does not handle the response from the submit.</p>\n\n\n<p>If validation of the form fields fails, the Form's <a href=\"#/api/Ext.form.Basic--afterAction\" rel=\"Ext.form.Basic--afterAction\" class=\"docClass\">Ext.form.Basic.afterAction</a> method\nwill be called. Otherwise, afterAction will not be called.</p>\n\n\n<p>Instances of this class are only created by a <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Form</a> when\n<a href=\"#/api/Ext.form.Basic-method-submit\" rel=\"Ext.form.Basic-method-submit\" class=\"docClass\">submit</a>ting, when the form's <a href=\"#/api/Ext.form.Basic-cfg-standardSubmit\" rel=\"Ext.form.Basic-cfg-standardSubmit\" class=\"docClass\">Ext.form.Basic.standardSubmit</a>\nconfig option is <tt>true</tt>.</p>\n\n",
5   "extends": "Ext.form.action.Submit",
6   "mixins": [
7
8   ],
9   "alternateClassNames": [
10
11   ],
12   "xtype": null,
13   "author": null,
14   "docauthor": null,
15   "singleton": false,
16   "private": false,
17   "cfg": [
18     {
19       "tagname": "cfg",
20       "name": "clientValidation",
21       "member": "Ext.form.action.Submit",
22       "type": "boolean",
23       "doc": "<p>Determines whether a Form's fields are validated\nin a final call to <a href=\"#/api/Ext.form.Basic-method-isValid\" rel=\"Ext.form.Basic-method-isValid\" class=\"docClass\">isValid</a> prior to submission.\nPass <tt>false</tt> in the Form's submit options to prevent this. Defaults to true.</p>\n",
24       "private": false,
25       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Submit.js",
26       "linenr": 64,
27       "html_filename": "Submit.html",
28       "href": "Submit.html#Ext-form-action-Submit-cfg-clientValidation",
29       "shortDoc": "Determines whether a Form's fields are validated\nin a final call to isValid prior to submission.\nPass false in the Fo..."
30     },
31     {
32       "tagname": "cfg",
33       "name": "failure",
34       "member": "Ext.form.action.Action",
35       "type": "Function",
36       "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.StandardSubmit-property-failureType\" rel=\"Ext.form.action.StandardSubmit-property-failureType\" class=\"docClass\">failureType</a>. The <a href=\"#/api/Ext.form.action.StandardSubmit-property-result\" rel=\"Ext.form.action.StandardSubmit-property-result\" class=\"docClass\">result</a>\nproperty of this object may be examined to perform custom postprocessing.</div></li>\n</ul></p>\n",
37       "private": false,
38       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
39       "linenr": 70,
40       "html_filename": "Action2.html",
41       "href": "Action2.html#Ext-form-action-Action-cfg-failure",
42       "shortDoc": "The function to call when a failure packet was received, or when an\nerror ocurred in the Ajax communication.\nThe func..."
43     },
44     {
45       "tagname": "cfg",
46       "name": "form",
47       "member": "Ext.form.action.Action",
48       "type": "Ext.form.Basic",
49       "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",
50       "private": false,
51       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
52       "linenr": 20,
53       "html_filename": "Action2.html",
54       "href": "Action2.html#Ext-form-action-Action-cfg-form"
55     },
56     {
57       "tagname": "cfg",
58       "name": "headers",
59       "member": "Ext.form.action.Action",
60       "type": "Object",
61       "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",
62       "private": false,
63       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
64       "linenr": 49,
65       "html_filename": "Action2.html",
66       "href": "Action2.html#Ext-form-action-Action-cfg-headers"
67     },
68     {
69       "tagname": "cfg",
70       "name": "method",
71       "member": "Ext.form.action.Action",
72       "type": "String",
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       "private": false,
75       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
76       "linenr": 37,
77       "html_filename": "Action2.html",
78       "href": "Action2.html#Ext-form-action-Action-cfg-method"
79     },
80     {
81       "tagname": "cfg",
82       "name": "params",
83       "member": "Ext.form.action.Action",
84       "type": "Object/String",
85       "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",
86       "private": false,
87       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
88       "linenr": 42,
89       "html_filename": "Action2.html",
90       "href": "Action2.html#Ext-form-action-Action-cfg-params",
91       "shortDoc": "Extra parameter values to pass. These are added to the Form's\nExt.form.Basic.baseParams and passed to the specified U..."
92     },
93     {
94       "tagname": "cfg",
95       "name": "reset",
96       "member": "Ext.form.action.Action",
97       "type": "Boolean",
98       "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.StandardSubmit-cfg-success\" rel=\"Ext.form.action.StandardSubmit-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",
99       "private": false,
100       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
101       "linenr": 30,
102       "html_filename": "Action2.html",
103       "href": "Action2.html#Ext-form-action-Action-cfg-reset",
104       "shortDoc": "When set to true, causes the Form to be\nreset on Action success. If specified, this happens\nbefore the success callba..."
105     },
106     {
107       "tagname": "cfg",
108       "name": "scope",
109       "member": "Ext.form.action.Action",
110       "type": "Object",
111       "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",
112       "private": false,
113       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
114       "linenr": 81,
115       "html_filename": "Action2.html",
116       "href": "Action2.html#Ext-form-action-Action-cfg-scope",
117       "shortDoc": "The scope in which to call the configured success and failure\ncallback functions (the this reference for the callback..."
118     },
119     {
120       "tagname": "cfg",
121       "name": "submitEmptyText",
122       "member": "Ext.form.action.Action",
123       "type": "Boolean",
124       "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",
125       "private": false,
126       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
127       "linenr": 96,
128       "html_filename": "Action2.html",
129       "href": "Action2.html#Ext-form-action-Action-cfg-submitEmptyText"
130     },
131     {
132       "tagname": "cfg",
133       "name": "success",
134       "member": "Ext.form.action.Action",
135       "type": "Function",
136       "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.StandardSubmit-property-result\" rel=\"Ext.form.action.StandardSubmit-property-result\" class=\"docClass\">result</a>\nproperty of this object may be examined to perform custom postprocessing.</div></li>\n</ul></p>\n",
137       "private": false,
138       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
139       "linenr": 61,
140       "html_filename": "Action2.html",
141       "href": "Action2.html#Ext-form-action-Action-cfg-success",
142       "shortDoc": "The function to call when a valid success return packet is received.\nThe function is passed the following parameters:..."
143     },
144     {
145       "tagname": "cfg",
146       "name": "target",
147       "member": "Ext.form.action.StandardSubmit",
148       "type": "String",
149       "doc": "<p>Optional <tt>target</tt> attribute to be used for the form when submitting. If not specified,\nthe target will be the current window/frame.</p>\n",
150       "private": false,
151       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/StandardSubmit.js",
152       "linenr": 16,
153       "html_filename": "StandardSubmit.html",
154       "href": "StandardSubmit.html#Ext-form-action-StandardSubmit-cfg-target",
155       "shortDoc": "Optional target attribute to be used for the form when submitting. If not specified,\nthe target will be the current w..."
156     },
157     {
158       "tagname": "cfg",
159       "name": "timeout",
160       "member": "Ext.form.action.Action",
161       "type": "Number",
162       "doc": "<p>The number of seconds to wait for a server response before\nfailing with the <a href=\"#/api/Ext.form.action.StandardSubmit-property-failureType\" rel=\"Ext.form.action.StandardSubmit-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.StandardSubmit-cfg-form\" rel=\"Ext.form.action.StandardSubmit-cfg-form\" class=\"docClass\">form</a>.</p>\n",
163       "private": false,
164       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
165       "linenr": 54,
166       "html_filename": "Action2.html",
167       "href": "Action2.html#Ext-form-action-Action-cfg-timeout",
168       "shortDoc": "The number of seconds to wait for a server response before\nfailing with the failureType as Ext.form.action.Action.CON..."
169     },
170     {
171       "tagname": "cfg",
172       "name": "url",
173       "member": "Ext.form.action.Action",
174       "type": "String",
175       "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.StandardSubmit-cfg-form\" rel=\"Ext.form.action.StandardSubmit-cfg-form\" class=\"docClass\">form</a>.</p>\n",
176       "private": false,
177       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
178       "linenr": 25,
179       "html_filename": "Action2.html",
180       "href": "Action2.html#Ext-form-action-Action-cfg-url"
181     },
182     {
183       "tagname": "cfg",
184       "name": "waitMsg",
185       "member": "Ext.form.action.Action",
186       "type": "String",
187       "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",
188       "private": false,
189       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
190       "linenr": 86,
191       "html_filename": "Action2.html",
192       "href": "Action2.html#Ext-form-action-Action-cfg-waitMsg"
193     },
194     {
195       "tagname": "cfg",
196       "name": "waitTitle",
197       "member": "Ext.form.action.Action",
198       "type": "String",
199       "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",
200       "private": false,
201       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
202       "linenr": 91,
203       "html_filename": "Action2.html",
204       "href": "Action2.html#Ext-form-action-Action-cfg-waitTitle"
205     }
206   ],
207   "method": [
208     {
209       "tagname": "method",
210       "name": "StandardSubmit",
211       "member": "Ext.form.action.Action",
212       "doc": "\n",
213       "params": [
214         {
215           "type": "Object",
216           "name": "config",
217           "doc": "<p>The configuration for this instance.</p>\n",
218           "optional": false
219         }
220       ],
221       "return": {
222         "type": "void",
223         "doc": "\n"
224       },
225       "private": false,
226       "static": false,
227       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
228       "linenr": 1,
229       "html_filename": "Action2.html",
230       "href": "Action2.html#Ext-form-action-Action-method-constructor",
231       "shortDoc": "\n"
232     },
233     {
234       "tagname": "method",
235       "name": "callOverridden",
236       "member": "Ext.Base",
237       "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",
238       "params": [
239         {
240           "type": "Array/Arguments",
241           "name": "args",
242           "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
243           "optional": false
244         }
245       ],
246       "return": {
247         "type": "Mixed",
248         "doc": "<p>Returns the result after calling the overridden method</p>\n"
249       },
250       "private": false,
251       "static": false,
252       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
253       "linenr": 279,
254       "html_filename": "Base3.html",
255       "href": "Base3.html#Ext-Base-method-callOverridden",
256       "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo..."
257     },
258     {
259       "tagname": "method",
260       "name": "getName",
261       "member": "Ext.Base",
262       "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",
263       "params": [
264
265       ],
266       "return": {
267         "type": "String",
268         "doc": "<p>className</p>\n"
269       },
270       "private": false,
271       "static": false,
272       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
273       "linenr": 652,
274       "html_filename": "Base3.html",
275       "href": "Base3.html#Ext-Base-method-getName",
276       "shortDoc": "Get the current class' name in string format.\n\nExt.define('My.cool.Class', {\n    constructor: function() {\n        al..."
277     }
278   ],
279   "property": [
280     {
281       "tagname": "property",
282       "name": "CLIENT_INVALID",
283       "member": "Ext.form.action.Action",
284       "type": "String",
285       "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",
286       "private": false,
287       "static": true,
288       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
289       "linenr": 271,
290       "html_filename": "Action2.html",
291       "href": "Action2.html#Ext-form-action-Action-property-CLIENT_INVALID",
292       "shortDoc": "Failure type returned when client side validation of the Form fails\nthus aborting a submit action. Client side valida..."
293     },
294     {
295       "tagname": "property",
296       "name": "CONNECT_FAILURE",
297       "member": "Ext.form.action.Action",
298       "type": "String",
299       "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.StandardSubmit-property-response\" rel=\"Ext.form.action.StandardSubmit-property-response\" class=\"docClass\">response</a> may be examined to\nprovide further information.</p>\n",
300       "private": false,
301       "static": true,
302       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
303       "linenr": 292,
304       "html_filename": "Action2.html",
305       "href": "Action2.html#Ext-form-action-Action-property-CONNECT_FAILURE",
306       "shortDoc": "Failure type returned when a communication error happens when attempting\nto send a request to the remote server. The ..."
307     },
308     {
309       "tagname": "property",
310       "name": "LOAD_FAILURE",
311       "member": "Ext.form.action.Action",
312       "type": "String",
313       "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",
314       "private": false,
315       "static": true,
316       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
317       "linenr": 302,
318       "html_filename": "Action2.html",
319       "href": "Action2.html#Ext-form-action-Action-property-LOAD_FAILURE",
320       "shortDoc": "Failure type returned when the response's success\nproperty is set to false, or no field values are returned in the re..."
321     },
322     {
323       "tagname": "property",
324       "name": "SERVER_INVALID",
325       "member": "Ext.form.action.Action",
326       "type": "String",
327       "doc": "<p>Failure type returned when server side processing fails and the <a href=\"#/api/Ext.form.action.StandardSubmit-property-result\" rel=\"Ext.form.action.StandardSubmit-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.StandardSubmit-property-result\" rel=\"Ext.form.action.StandardSubmit-property-result\" class=\"docClass\">result</a>'s <tt>errors</tt> property.</p>\n\n",
328       "private": false,
329       "static": true,
330       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
331       "linenr": 281,
332       "html_filename": "Action2.html",
333       "href": "Action2.html#Ext-form-action-Action-property-SERVER_INVALID",
334       "shortDoc": "Failure type returned when server side processing fails and the result's\nsuccess property is set to false.\n\n\nIn the c..."
335     },
336     {
337       "tagname": "property",
338       "name": "addStatics",
339       "member": "Ext.Base",
340       "type": "Function",
341       "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",
342       "private": false,
343       "static": true,
344       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
345       "linenr": 399,
346       "html_filename": "Base3.html",
347       "href": "Base3.html#Ext-Base-property-addStatics",
348       "shortDoc": "Add / override static properties of this class.\n\nExt.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.addStatics(..."
349     },
350     {
351       "tagname": "property",
352       "name": "borrow",
353       "member": "Ext.Base",
354       "type": "Function",
355       "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",
356       "private": false,
357       "static": true,
358       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
359       "linenr": 492,
360       "html_filename": "Base3.html",
361       "href": "Base3.html#Ext-Base-property-borrow",
362       "shortDoc": "Borrow another class' members to the prototype of this class.\n\nExt.define('Bank', {\n    money: '$$$',\n    printMoney:..."
363     },
364     {
365       "tagname": "property",
366       "name": "create",
367       "member": "Ext.Base",
368       "type": "Function",
369       "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",
370       "private": false,
371       "static": true,
372       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
373       "linenr": 340,
374       "html_filename": "Base3.html",
375       "href": "Base3.html#Ext-Base-property-create",
376       "shortDoc": "Create a new instance of this Class.\n\nExt.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfi..."
377     },
378     {
379       "tagname": "property",
380       "name": "createAlias",
381       "member": "Ext.Base",
382       "type": "Function",
383       "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",
384       "private": false,
385       "static": true,
386       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
387       "linenr": 670,
388       "html_filename": "Base3.html",
389       "href": "Base3.html#Ext-Base-property-createAlias",
390       "shortDoc": "Create aliases for existing prototype methods. Example:\n\nExt.define('My.cool.Class', {\n    method1: function() { ... ..."
391     },
392     {
393       "tagname": "property",
394       "name": "failureType",
395       "member": "Ext.form.action.Action",
396       "type": "String",
397       "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.StandardSubmit-property-result\" rel=\"Ext.form.action.StandardSubmit-property-result\" class=\"docClass\">result</a>;\n                },\n                failure: function(form, action){\n                    if (action.<a href=\"#/api/Ext.form.action.StandardSubmit-property-failureType\" rel=\"Ext.form.action.StandardSubmit-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.StandardSubmit-property-response\" rel=\"Ext.form.action.StandardSubmit-property-response\" class=\"docClass\">response</a>.status+': '+\n                            action.<a href=\"#/api/Ext.form.action.StandardSubmit-property-response\" rel=\"Ext.form.action.StandardSubmit-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.StandardSubmit-property-result\" rel=\"Ext.form.action.StandardSubmit-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",
398       "private": false,
399       "static": false,
400       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
401       "linenr": 108,
402       "html_filename": "Action2.html",
403       "href": "Action2.html#Ext-form-action-Action-property-failureType",
404       "shortDoc": "The type of failure detected will be one of these: Ext.form.action.Action.CLIENT_INVALID,\nExt.form.action.Action.SERV..."
405     },
406     {
407       "tagname": "property",
408       "name": "implement",
409       "member": "Ext.Base",
410       "type": "Function",
411       "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",
412       "private": false,
413       "static": true,
414       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
415       "linenr": 428,
416       "html_filename": "Base3.html",
417       "href": "Base3.html#Ext-Base-property-implement",
418       "shortDoc": "Add methods / properties to the prototype of this class.\n\nExt.define('My.awesome.Cat', {\n    constructor: function() ..."
419     },
420     {
421       "tagname": "property",
422       "name": "override",
423       "member": "Ext.Base",
424       "type": "Function",
425       "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",
426       "private": false,
427       "static": true,
428       "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
429       "linenr": 536,
430       "html_filename": "Base3.html",
431       "href": "Base3.html#Ext-Base-property-override",
432       "shortDoc": "Override prototype members of this class. Overridden methods can be invoked via\nExt.Base.callOverridden\n\nExt.define('..."
433     },
434     {
435       "tagname": "property",
436       "name": "response",
437       "member": "Ext.form.action.Action",
438       "type": "Object",
439       "doc": "<p>The raw XMLHttpRequest object used to perform the action.</p>\n",
440       "private": false,
441       "static": false,
442       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
443       "linenr": 152,
444       "html_filename": "Action2.html",
445       "href": "Action2.html#Ext-form-action-Action-property-response"
446     },
447     {
448       "tagname": "property",
449       "name": "result",
450       "member": "Ext.form.action.Action",
451       "type": "Object",
452       "doc": "<p>The decoded response object containing a boolean <tt>success</tt> property and\nother, action-specific properties.</p>\n",
453       "private": false,
454       "static": false,
455       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
456       "linenr": 158,
457       "html_filename": "Action2.html",
458       "href": "Action2.html#Ext-form-action-Action-property-result"
459     },
460     {
461       "tagname": "property",
462       "name": "run",
463       "member": "Ext.form.action.Action",
464       "type": "Object",
465       "doc": "<p>Invokes this action using the current configuration.</p>\n",
466       "private": false,
467       "static": false,
468       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
469       "linenr": 179,
470       "html_filename": "Action2.html",
471       "href": "Action2.html#Ext-form-action-Action-property-run"
472     },
473     {
474       "tagname": "property",
475       "name": "type",
476       "member": "Ext.form.action.Action",
477       "type": "String",
478       "doc": "<p>The type of action this Action instance performs.\nCurrently only \"submit\" and \"load\" are supported.</p>\n",
479       "private": false,
480       "static": false,
481       "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
482       "linenr": 101,
483       "html_filename": "Action2.html",
484       "href": "Action2.html#Ext-form-action-Action-property-type"
485     }
486   ],
487   "event": [
488
489   ],
490   "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/StandardSubmit.js",
491   "linenr": 1,
492   "html_filename": "StandardSubmit.html",
493   "href": "StandardSubmit.html#Ext-form-action-StandardSubmit",
494   "cssVar": [
495
496   ],
497   "cssMixin": [
498
499   ],
500   "component": false,
501   "superclasses": [
502     "Ext.Base",
503     "Ext.form.action.Action",
504     "Ext.form.action.Submit"
505   ],
506   "subclasses": [
507
508   ],
509   "mixedInto": [
510
511   ],
512   "allMixins": [
513
514   ]
515 });