1 Ext.data.JsonP.Ext_form_action_Load({
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. ...",
18 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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.Load-property-failureType\" rel=\"Ext.form.action.Load-property-failureType\" class=\"docClass\">failureType</a>. The <a href=\"#/api/Ext.form.action.Load-property-result\" rel=\"Ext.form.action.Load-property-result\" class=\"docClass\">result</a>\nproperty of this object may be examined to perform custom postprocessing.</div></li>\n</ul></p>\n",
24 "html_filename": "Action.html"
27 "type": "Ext.form.Basic",
32 "href": "Action.html#Ext-form-action-Action-cfg-form",
33 "shortDoc": "The BasicForm instance that\nis invoking this Action. ...",
35 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
41 "html_filename": "Action.html"
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. ...",
52 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
58 "html_filename": "Action.html"
66 "href": "Action.html#Ext-form-action-Action-cfg-method",
67 "shortDoc": "The HTTP method to use to access the requested URL. ...",
69 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
75 "html_filename": "Action.html"
78 "type": "Object/String",
83 "href": "Action.html#Ext-form-action-Action-cfg-params",
84 "shortDoc": "Extra parameter values to pass. ...",
86 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
92 "html_filename": "Action.html"
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. ...",
103 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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.Load-cfg-success\" rel=\"Ext.form.action.Load-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",
109 "html_filename": "Action.html"
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...",
120 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
126 "html_filename": "Action.html"
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. ...",
137 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
143 "html_filename": "Action.html"
151 "href": "Action.html#Ext-form-action-Action-cfg-success",
152 "shortDoc": "The function to call when a valid success return packet is received. ...",
154 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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.Load-property-result\" rel=\"Ext.form.action.Load-property-result\" class=\"docClass\">result</a>\nproperty of this object may be examined to perform custom postprocessing.</div></li>\n</ul></p>\n",
160 "html_filename": "Action.html"
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...",
171 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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.Load-property-failureType\" rel=\"Ext.form.action.Load-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.Load-cfg-form\" rel=\"Ext.form.action.Load-cfg-form\" class=\"docClass\">form</a>.</p>\n",
177 "html_filename": "Action.html"
185 "href": "Action.html#Ext-form-action-Action-cfg-url",
186 "shortDoc": "The URL that the Action is to invoke. ...",
188 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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.Load-cfg-form\" rel=\"Ext.form.action.Load-cfg-form\" class=\"docClass\">form</a>.</p>\n",
194 "html_filename": "Action.html"
202 "href": "Action.html#Ext-form-action-Action-cfg-waitMsg",
204 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
210 "html_filename": "Action.html"
218 "href": "Action.html#Ext-form-action-Action-cfg-waitTitle",
220 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
226 "html_filename": "Action.html"
233 "href": "Action.html#Ext-form-action-Action-method-constructor",
236 "shortDoc": "Creates new Action. ...",
242 "doc": "<p>(optional) Config object.</p>\n",
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",
251 "html_filename": "Action.html",
263 "href": "Base3.html#Ext-Base-method-addStatics",
264 "shortDoc": "Add / override static properties of this class. ...",
266 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
276 "name": "addStatics",
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",
282 "doc": "<p>this</p>\n"
284 "html_filename": "Base3.html"
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...",
294 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
298 "type": "Array/Arguments",
300 "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
304 "name": "callOverridden",
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",
310 "doc": "<p>Returns the result after calling the overridden method</p>\n"
312 "html_filename": "Base3.html"
319 "href": "Base3.html#Ext-Base-method-callParent",
320 "shortDoc": "Call the parent's overridden method. ...",
322 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
326 "type": "Array/Arguments",
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",
332 "name": "callParent",
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",
338 "doc": "<p>Returns the result from the superclass' method</p>\n"
340 "html_filename": "Base3.html"
347 "href": "Base3.html#Ext-Base-method-create",
348 "shortDoc": "Create a new instance of this Class. ...",
350 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
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",
361 "doc": "<p>the created instance.</p>\n"
363 "html_filename": "Base3.html"
370 "href": "Base3.html#Ext-Base-method-createAlias",
371 "shortDoc": "Create aliases for existing prototype methods. ...",
373 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
377 "type": "String/Object",
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",
383 "type": "String/Object",
385 "doc": "<p>The original method name</p>\n",
389 "name": "createAlias",
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() -> test.method1()\n</code></pre>\n",
397 "html_filename": "Base3.html"
404 "href": "Base3.html#Ext-Base-method-getName",
405 "shortDoc": "Get the current class' name in string format. ...",
407 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
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",
418 "doc": "<p>className</p>\n"
420 "html_filename": "Base3.html"
427 "href": "Base3.html#Ext-Base-method-implement",
428 "shortDoc": "Add methods / properties to the prototype of this class. ...",
430 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
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",
448 "html_filename": "Base3.html"
455 "href": "Base3.html#Ext-Base-method-initConfig",
456 "shortDoc": "Initialize configuration for this class. ...",
458 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
468 "name": "initConfig",
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",
474 "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
476 "html_filename": "Base3.html"
483 "href": "Base3.html#Ext-Base-method-override",
484 "shortDoc": "Override prototype members of this class. ...",
486 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
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",
502 "doc": "<p>this</p>\n"
504 "html_filename": "Base3.html"
511 "href": "Base3.html#Ext-Base-method-statics",
512 "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
514 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
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",
527 "html_filename": "Base3.html"
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. ...",
540 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
546 "html_filename": "Action.html"
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. ...",
557 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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.Load-property-response\" rel=\"Ext.form.action.Load-property-response\" class=\"docClass\">response</a> may be examined to\nprovide further information.</p>\n",
563 "html_filename": "Action.html"
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...",
574 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
580 "html_filename": "Action.html"
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. ...",
591 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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.Load-property-result\" rel=\"Ext.form.action.Load-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.Load-property-result\" rel=\"Ext.form.action.Load-property-result\" class=\"docClass\">result</a>'s <tt>errors</tt> property.</p>\n\n",
597 "html_filename": "Action.html"
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...",
608 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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.Load-property-result\" rel=\"Ext.form.action.Load-property-result\" class=\"docClass\">result</a>;\n },\n failure: function(form, action){\n if (action.<a href=\"#/api/Ext.form.action.Load-property-failureType\" rel=\"Ext.form.action.Load-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.Load-property-response\" rel=\"Ext.form.action.Load-property-response\" class=\"docClass\">response</a>.status+': '+\n action.<a href=\"#/api/Ext.form.action.Load-property-response\" rel=\"Ext.form.action.Load-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.Load-property-result\" rel=\"Ext.form.action.Load-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",
614 "html_filename": "Action.html"
621 "tagname": "property",
622 "href": "Action.html#Ext-form-action-Action-property-response",
624 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
627 "owner": "Ext.form.action.Action",
628 "doc": "<p>The raw XMLHttpRequest object used to perform the action.</p>\n",
630 "html_filename": "Action.html"
637 "tagname": "property",
638 "href": "Action.html#Ext-form-action-Action-property-result",
640 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
646 "html_filename": "Action.html"
653 "tagname": "property",
654 "href": "Action.html#Ext-form-action-Action-property-run",
656 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
659 "owner": "Ext.form.action.Action",
660 "doc": "<p>Invokes this action using the current configuration.</p>\n",
662 "html_filename": "Action.html"
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. ...",
673 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
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",
679 "html_filename": "Base3.html"
686 "tagname": "property",
687 "href": "Action.html#Ext-form-action-Action-property-type",
688 "shortDoc": "The type of action this Action instance performs. ...",
690 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js",
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",
696 "html_filename": "Action.html"
713 "Ext.form.action.Action"
720 "href": "Load.html#Ext-form-action-Load",
722 "Ext.form.action.DirectLoad"
727 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Load.js",
729 "alternateClassNames": [
730 "Ext.form.Action.Load"
732 "name": "Ext.form.action.Load",
733 "doc": "<p>A class which handles loading of data from a server into the Fields of an <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Ext.form.Basic</a>.</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-load\" rel=\"Ext.form.Basic-method-load\" class=\"docClass\">load</a>ing.</p>\n\n\n<p><u><b>Response Packet Criteria</b></u></p>\n\n\n<p>A response packet <b>must</b> contain:\n<div class=\"mdetail-params\"><ul>\n<li><b><code>success</code></b> property : Boolean</li>\n<li><b><code>data</code></b> property : Object</li>\n<div class=\"sub-desc\">The <code>data</code> property contains the values of Fields to load.\nThe individual value object for each Field is passed to the Field's\n<a href=\"#/api/Ext.form.field.Field-method-setValue\" rel=\"Ext.form.field.Field-method-setValue\" class=\"docClass\">setValue</a> method.</div></li>\n</ul></div>\n<p><u><b>JSON Packets</b></u></p>\n<p>By default, response packets are assumed to be JSON, so for the following form load call:\n<pre><code>var myFormPanel = new Ext.form.Panel({\n title: 'Client and routing info',\n items: [{\n fieldLabel: 'Client',\n name: 'clientName'\n }, {\n fieldLabel: 'Port of loading',\n name: 'portOfLoading'\n }, {\n fieldLabel: 'Port of discharge',\n name: 'portOfDischarge'\n }]\n});\nmyFormPanel.<a href=\"#/api/Ext.form.Panel-method-getForm\" rel=\"Ext.form.Panel-method-getForm\" class=\"docClass\">getForm</a>().<a href=\"#/api/Ext.form.Basic-method-load\" rel=\"Ext.form.Basic-method-load\" class=\"docClass\">load</a>({\n url: '/getRoutingInfo.php',\n params: {\n consignmentRef: myConsignmentRef\n },\n failure: function(form, action) {\n Ext.Msg.alert(\"Load failed\", action.result.errorMessage);\n }\n});\n</code></pre>\na <b>success response</b> packet may look like this:</p>\n<pre><code>{\n success: true,\n data: {\n clientName: \"Fred. Olsen Lines\",\n portOfLoading: \"FXT\",\n portOfDischarge: \"OSL\"\n }\n}</code></pre>\nwhile a <b>failure response</b> packet may look like this:</p>\n\n\n<pre><code>{\n success: false,\n errorMessage: \"Consignment reference not found\"\n}</code></pre>\n\n\n<p>Other data may be placed into the response for processing the <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Form</a>'s\ncallback or event handler methods. The object decoded from this JSON is available in the\n<a href=\"#/api/Ext.form.action.Action-property-result\" rel=\"Ext.form.action.Action-property-result\" class=\"docClass\">result</a> property.</p>\n\n",
741 "html_filename": "Load.html",
742 "extends": "Ext.form.action.Action"