1 Ext.data.JsonP.Ext_form_action_DirectSubmit({
3 "name": "Ext.form.action.DirectSubmit",
4 "doc": "<p>Provides Ext.direct support for submitting form data.</p>\n\n\n<p>This example illustrates usage of Ext.direct.Direct to <b>submit</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 buttons:[{\n text: 'Submit',\n handler: function(){\n myFormPanel.getForm().submit({\n params: {\n foo: 'bar',\n uid: 34\n }\n });\n }\n }],\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</code></pre>\n\n\n<p>The data packet sent to the server will resemble something like:</p>\n\n<pre><code>{\n \"action\":\"Profile\",\"method\":\"updateBasicInfo\",\"type\":\"rpc\",\"tid\":\"6\",\n \"result\":{\n \"success\":true,\n \"id\":{\n \"extAction\":\"Profile\",\"extMethod\":\"updateBasicInfo\",\n \"extType\":\"rpc\",\"extTID\":\"6\",\"extUpload\":\"false\",\n \"name\":\"Aaron Conran\",\"email\":\"aaron@sencha.com\",\"company\":\"Sencha Inc.\"\n }\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:</p>\n\n<pre><code>// sample success packet (batched requests)\n[\n {\n \"action\":\"Profile\",\"method\":\"updateBasicInfo\",\"type\":\"rpc\",\"tid\":3,\n \"result\":{\n \"success\":true\n }\n }\n]\n\n// sample failure packet (one request)\n{\n \"action\":\"Profile\",\"method\":\"updateBasicInfo\",\"type\":\"rpc\",\"tid\":\"6\",\n \"result\":{\n \"errors\":{\n \"email\":\"already taken\"\n },\n \"success\":false,\n \"foo\":\"bar\"\n }\n}\n</code></pre>\n\n\n<p>Also see the discussion in <a href=\"#/api/Ext.form.action.DirectLoad\" rel=\"Ext.form.action.DirectLoad\" class=\"docClass\">Ext.form.action.DirectLoad</a>.</p>\n",
5 "extends": "Ext.form.action.Submit",
9 "alternateClassNames": [
10 "Ext.form.Action.DirectSubmit"
20 "name": "clientValidation",
21 "member": "Ext.form.action.Submit",
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",
25 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Submit.js",
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..."
34 "member": "Ext.form.action.Action",
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.DirectSubmit-property-failureType\" rel=\"Ext.form.action.DirectSubmit-property-failureType\" class=\"docClass\">failureType</a>. The <a href=\"#/api/Ext.form.action.DirectSubmit-property-result\" rel=\"Ext.form.action.DirectSubmit-property-result\" class=\"docClass\">result</a>\nproperty of this object may be examined to perform custom postprocessing.</div></li>\n</ul></p>\n",
38 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
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..."
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",
51 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
53 "html_filename": "Action2.html",
54 "href": "Action2.html#Ext-form-action-Action-cfg-form"
59 "member": "Ext.form.action.Action",
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",
63 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
65 "html_filename": "Action2.html",
66 "href": "Action2.html#Ext-form-action-Action-cfg-headers"
71 "member": "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",
75 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
77 "html_filename": "Action2.html",
78 "href": "Action2.html#Ext-form-action-Action-cfg-method"
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",
87 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
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..."
96 "member": "Ext.form.action.Action",
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.DirectSubmit-cfg-success\" rel=\"Ext.form.action.DirectSubmit-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",
100 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
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..."
109 "member": "Ext.form.action.Action",
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",
113 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
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..."
121 "name": "submitEmptyText",
122 "member": "Ext.form.action.Action",
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",
126 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
128 "html_filename": "Action2.html",
129 "href": "Action2.html#Ext-form-action-Action-cfg-submitEmptyText"
134 "member": "Ext.form.action.Action",
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.DirectSubmit-property-result\" rel=\"Ext.form.action.DirectSubmit-property-result\" class=\"docClass\">result</a>\nproperty of this object may be examined to perform custom postprocessing.</div></li>\n</ul></p>\n",
138 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
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:..."
147 "member": "Ext.form.action.Action",
149 "doc": "<p>The number of seconds to wait for a server response before\nfailing with the <a href=\"#/api/Ext.form.action.DirectSubmit-property-failureType\" rel=\"Ext.form.action.DirectSubmit-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.DirectSubmit-cfg-form\" rel=\"Ext.form.action.DirectSubmit-cfg-form\" class=\"docClass\">form</a>.</p>\n",
151 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
153 "html_filename": "Action2.html",
154 "href": "Action2.html#Ext-form-action-Action-cfg-timeout",
155 "shortDoc": "The number of seconds to wait for a server response before\nfailing with the failureType as Ext.form.action.Action.CON..."
160 "member": "Ext.form.action.Action",
162 "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.DirectSubmit-cfg-form\" rel=\"Ext.form.action.DirectSubmit-cfg-form\" class=\"docClass\">form</a>.</p>\n",
164 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
166 "html_filename": "Action2.html",
167 "href": "Action2.html#Ext-form-action-Action-cfg-url"
172 "member": "Ext.form.action.Action",
174 "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",
176 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
178 "html_filename": "Action2.html",
179 "href": "Action2.html#Ext-form-action-Action-cfg-waitMsg"
184 "member": "Ext.form.action.Action",
186 "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",
188 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
190 "html_filename": "Action2.html",
191 "href": "Action2.html#Ext-form-action-Action-cfg-waitTitle"
197 "name": "DirectSubmit",
198 "member": "Ext.form.action.Action",
204 "doc": "<p>The configuration for this instance.</p>\n",
214 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
216 "html_filename": "Action2.html",
217 "href": "Action2.html#Ext-form-action-Action-method-constructor",
222 "name": "callOverridden",
223 "member": "Ext.Base",
224 "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",
227 "type": "Array/Arguments",
229 "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
235 "doc": "<p>Returns the result after calling the overridden method</p>\n"
239 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
241 "html_filename": "Base3.html",
242 "href": "Base3.html#Ext-Base-method-callOverridden",
243 "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo..."
248 "member": "Ext.Base",
249 "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",
255 "doc": "<p>className</p>\n"
259 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
261 "html_filename": "Base3.html",
262 "href": "Base3.html#Ext-Base-method-getName",
263 "shortDoc": "Get the current class' name in string format.\n\nExt.define('My.cool.Class', {\n constructor: function() {\n al..."
268 "tagname": "property",
269 "name": "CLIENT_INVALID",
270 "member": "Ext.form.action.Action",
272 "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",
275 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
277 "html_filename": "Action2.html",
278 "href": "Action2.html#Ext-form-action-Action-property-CLIENT_INVALID",
279 "shortDoc": "Failure type returned when client side validation of the Form fails\nthus aborting a submit action. Client side valida..."
282 "tagname": "property",
283 "name": "CONNECT_FAILURE",
284 "member": "Ext.form.action.Action",
286 "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.DirectSubmit-property-response\" rel=\"Ext.form.action.DirectSubmit-property-response\" class=\"docClass\">response</a> may be examined to\nprovide further information.</p>\n",
289 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
291 "html_filename": "Action2.html",
292 "href": "Action2.html#Ext-form-action-Action-property-CONNECT_FAILURE",
293 "shortDoc": "Failure type returned when a communication error happens when attempting\nto send a request to the remote server. The ..."
296 "tagname": "property",
297 "name": "LOAD_FAILURE",
298 "member": "Ext.form.action.Action",
300 "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",
303 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
305 "html_filename": "Action2.html",
306 "href": "Action2.html#Ext-form-action-Action-property-LOAD_FAILURE",
307 "shortDoc": "Failure type returned when the response's success\nproperty is set to false, or no field values are returned in the re..."
310 "tagname": "property",
311 "name": "SERVER_INVALID",
312 "member": "Ext.form.action.Action",
314 "doc": "<p>Failure type returned when server side processing fails and the <a href=\"#/api/Ext.form.action.DirectSubmit-property-result\" rel=\"Ext.form.action.DirectSubmit-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.DirectSubmit-property-result\" rel=\"Ext.form.action.DirectSubmit-property-result\" class=\"docClass\">result</a>'s <tt>errors</tt> property.</p>\n\n",
317 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
319 "html_filename": "Action2.html",
320 "href": "Action2.html#Ext-form-action-Action-property-SERVER_INVALID",
321 "shortDoc": "Failure type returned when server side processing fails and the result's\nsuccess property is set to false.\n\n\nIn the c..."
324 "tagname": "property",
325 "name": "addStatics",
326 "member": "Ext.Base",
328 "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",
331 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
333 "html_filename": "Base3.html",
334 "href": "Base3.html#Ext-Base-property-addStatics",
335 "shortDoc": "Add / override static properties of this class.\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics(..."
338 "tagname": "property",
340 "member": "Ext.Base",
342 "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",
345 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
347 "html_filename": "Base3.html",
348 "href": "Base3.html#Ext-Base-property-borrow",
349 "shortDoc": "Borrow another class' members to the prototype of this class.\n\nExt.define('Bank', {\n money: '$$$',\n printMoney:..."
352 "tagname": "property",
354 "member": "Ext.Base",
356 "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",
359 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
361 "html_filename": "Base3.html",
362 "href": "Base3.html#Ext-Base-property-create",
363 "shortDoc": "Create a new instance of this Class.\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfi..."
366 "tagname": "property",
367 "name": "createAlias",
368 "member": "Ext.Base",
370 "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() -> test.method1()\n</code></pre>\n",
373 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
375 "html_filename": "Base3.html",
376 "href": "Base3.html#Ext-Base-property-createAlias",
377 "shortDoc": "Create aliases for existing prototype methods. Example:\n\nExt.define('My.cool.Class', {\n method1: function() { ... ..."
380 "tagname": "property",
381 "name": "failureType",
382 "member": "Ext.form.action.Action",
384 "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.DirectSubmit-property-result\" rel=\"Ext.form.action.DirectSubmit-property-result\" class=\"docClass\">result</a>;\n },\n failure: function(form, action){\n if (action.<a href=\"#/api/Ext.form.action.DirectSubmit-property-failureType\" rel=\"Ext.form.action.DirectSubmit-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.DirectSubmit-property-response\" rel=\"Ext.form.action.DirectSubmit-property-response\" class=\"docClass\">response</a>.status+': '+\n action.<a href=\"#/api/Ext.form.action.DirectSubmit-property-response\" rel=\"Ext.form.action.DirectSubmit-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.DirectSubmit-property-result\" rel=\"Ext.form.action.DirectSubmit-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",
387 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
389 "html_filename": "Action2.html",
390 "href": "Action2.html#Ext-form-action-Action-property-failureType",
391 "shortDoc": "The type of failure detected will be one of these: Ext.form.action.Action.CLIENT_INVALID,\nExt.form.action.Action.SERV..."
394 "tagname": "property",
396 "member": "Ext.Base",
398 "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",
401 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
403 "html_filename": "Base3.html",
404 "href": "Base3.html#Ext-Base-property-implement",
405 "shortDoc": "Add methods / properties to the prototype of this class.\n\nExt.define('My.awesome.Cat', {\n constructor: function() ..."
408 "tagname": "property",
410 "member": "Ext.Base",
412 "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",
415 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
417 "html_filename": "Base3.html",
418 "href": "Base3.html#Ext-Base-property-override",
419 "shortDoc": "Override prototype members of this class. Overridden methods can be invoked via\nExt.Base.callOverridden\n\nExt.define('..."
422 "tagname": "property",
424 "member": "Ext.form.action.Action",
426 "doc": "<p>The raw XMLHttpRequest object used to perform the action.</p>\n",
429 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
431 "html_filename": "Action2.html",
432 "href": "Action2.html#Ext-form-action-Action-property-response"
435 "tagname": "property",
437 "member": "Ext.form.action.Action",
439 "doc": "<p>The decoded response object containing a boolean <tt>success</tt> property and\nother, action-specific properties.</p>\n",
442 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
444 "html_filename": "Action2.html",
445 "href": "Action2.html#Ext-form-action-Action-property-result"
448 "tagname": "property",
450 "member": "Ext.form.action.Action",
452 "doc": "<p>Invokes this action using the current configuration.</p>\n",
455 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
457 "html_filename": "Action2.html",
458 "href": "Action2.html#Ext-form-action-Action-property-run"
461 "tagname": "property",
463 "member": "Ext.form.action.Action",
465 "doc": "<p>The type of action this Action instance performs.\nCurrently only \"submit\" and \"load\" are supported.</p>\n",
468 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js",
470 "html_filename": "Action2.html",
471 "href": "Action2.html#Ext-form-action-Action-property-type"
477 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/DirectSubmit.js",
479 "html_filename": "DirectSubmit.html",
480 "href": "DirectSubmit.html#Ext-form-action-DirectSubmit",
490 "Ext.form.action.Action",
491 "Ext.form.action.Submit"