X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/output/Ext.form.action.Load.js diff --git a/docs/output/Ext.form.action.Load.js b/docs/output/Ext.form.action.Load.js index 451cce33..641bd616 100644 --- a/docs/output/Ext.form.action.Load.js +++ b/docs/output/Ext.form.action.Load.js @@ -1,488 +1,743 @@ Ext.data.JsonP.Ext_form_action_Load({ - "tagname": "class", - "name": "Ext.form.action.Load", - "doc": "

A class which handles loading of data from a server into the Fields of an Ext.form.Basic.

\n\n\n

Instances of this class are only created by a Form when\nloading.

\n\n\n

Response Packet Criteria

\n\n\n

A response packet must contain:\n

\n

JSON Packets

\n

By default, response packets are assumed to be JSON, so for the following form load call:\n

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.getForm().load({\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
\na success response packet may look like this:

\n
{\n    success: true,\n    data: {\n        clientName: \"Fred. Olsen Lines\",\n        portOfLoading: \"FXT\",\n        portOfDischarge: \"OSL\"\n    }\n}
\nwhile a failure response packet may look like this:

\n\n\n
{\n    success: false,\n    errorMessage: \"Consignment reference not found\"\n}
\n\n\n

Other data may be placed into the response for processing the Form's\ncallback or event handler methods. The object decoded from this JSON is available in the\nresult property.

\n\n", - "extends": "Ext.form.action.Action", - "mixins": [ + "allMixins": [ ], - "alternateClassNames": [ - "Ext.form.Action.Load" - ], - "xtype": null, - "author": null, + "deprecated": null, "docauthor": null, - "singleton": false, - "private": false, - "cfg": [ - { - "tagname": "cfg", - "name": "failure", - "member": "Ext.form.action.Action", - "type": "Function", - "doc": "

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:

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 70, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-failure", - "shortDoc": "The function to call when a failure packet was received, or when an\nerror ocurred in the Ajax communication.\nThe func..." - }, - { - "tagname": "cfg", - "name": "form", - "member": "Ext.form.action.Action", - "type": "Ext.form.Basic", - "doc": "

The BasicForm instance that\nis invoking this Action. Required.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 20, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-form" - }, - { - "tagname": "cfg", - "name": "headers", - "member": "Ext.form.action.Action", - "type": "Object", - "doc": "

Extra headers to be sent in the AJAX request for submit and load actions. See\nExt.data.Connection.headers.

\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 49, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-headers" - }, - { - "tagname": "cfg", - "name": "method", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

The HTTP method to use to access the requested URL. Defaults to the\nBasicForm's method, or 'POST' if not specified.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 37, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-method" - }, - { - "tagname": "cfg", - "name": "params", - "member": "Ext.form.action.Action", - "type": "Object/String", - "doc": "

Extra parameter values to pass. These are added to the Form's\nExt.form.Basic.baseParams and passed to the specified URL along with the Form's\ninput fields.

\n\n\n

Parameters are encoded as standard HTTP parameters using Ext.Object.toQueryString.

\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 42, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-params", - "shortDoc": "Extra parameter values to pass. These are added to the Form's\nExt.form.Basic.baseParams and passed to the specified U..." - }, - { - "tagname": "cfg", - "name": "reset", - "member": "Ext.form.action.Action", - "type": "Boolean", - "doc": "

When set to true, causes the Form to be\nreset on Action success. If specified, this happens\nbefore the success callback is called and before the Form's\nactioncomplete event fires.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 30, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-reset", - "shortDoc": "When set to true, causes the Form to be\nreset on Action success. If specified, this happens\nbefore the success callba..." - }, - { - "tagname": "cfg", - "name": "scope", - "member": "Ext.form.action.Action", - "type": "Object", - "doc": "

The scope in which to call the configured success and failure\ncallback functions (the this reference for the callback functions).

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 81, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-scope", - "shortDoc": "The scope in which to call the configured success and failure\ncallback functions (the this reference for the callback..." - }, - { - "tagname": "cfg", - "name": "submitEmptyText", - "member": "Ext.form.action.Action", - "type": "Boolean", - "doc": "

If set to true, the emptyText value will be sent with the form\nwhen it is submitted. Defaults to true.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 96, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-submitEmptyText" - }, - { - "tagname": "cfg", - "name": "success", - "member": "Ext.form.action.Action", - "type": "Function", - "doc": "

The function to call when a valid success return packet is received.\nThe function is passed the following parameters:

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 61, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-success", - "shortDoc": "The function to call when a valid success return packet is received.\nThe function is passed the following parameters:..." - }, - { - "tagname": "cfg", - "name": "timeout", - "member": "Ext.form.action.Action", - "type": "Number", - "doc": "

The number of seconds to wait for a server response before\nfailing with the failureType as Ext.form.action.Action.CONNECT_FAILURE. If not specified,\ndefaults to the configured timeout of the\nform.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 54, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-timeout", - "shortDoc": "The number of seconds to wait for a server response before\nfailing with the failureType as Ext.form.action.Action.CON..." - }, - { - "tagname": "cfg", - "name": "url", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

The URL that the Action is to invoke. Will default to the url\nconfigured on the form.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 25, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-url" - }, - { - "tagname": "cfg", - "name": "waitMsg", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

The message to be displayed by a call to Ext.window.MessageBox.wait\nduring the time the action is being processed.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 86, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-waitMsg" - }, - { - "tagname": "cfg", - "name": "waitTitle", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

The title to be displayed by a call to Ext.window.MessageBox.wait\nduring the time the action is being processed.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 91, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-cfg-waitTitle" - } - ], - "method": [ - { - "tagname": "method", - "name": "Load", - "member": "Ext.form.action.Action", - "doc": "\n", - "params": [ - { + "members": { + "cfg": [ + { + "type": "Function", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-failure", + "shortDoc": "The function to call when a failure packet was received, or when an\nerror ocurred in the Ajax communication. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "failure", + "owner": "Ext.form.action.Action", + "doc": "

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:

\n", + "linenr": 68, + "html_filename": "Action.html" + }, + { + "type": "Ext.form.Basic", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-form", + "shortDoc": "The BasicForm instance that\nis invoking this Action. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "form", + "owner": "Ext.form.action.Action", + "doc": "

The BasicForm instance that\nis invoking this Action. Required.

\n", + "linenr": 18, + "html_filename": "Action.html" + }, + { + "type": "Object", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-headers", + "shortDoc": "Extra headers to be sent in the AJAX request for submit and load actions. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "headers", + "owner": "Ext.form.action.Action", + "doc": "

Extra headers to be sent in the AJAX request for submit and load actions. See\nExt.data.Connection.headers.

\n\n", + "linenr": 47, + "html_filename": "Action.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-method", + "shortDoc": "The HTTP method to use to access the requested URL. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "method", + "owner": "Ext.form.action.Action", + "doc": "

The HTTP method to use to access the requested URL. Defaults to the\nBasicForm's method, or 'POST' if not specified.

\n", + "linenr": 35, + "html_filename": "Action.html" + }, + { + "type": "Object/String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-params", + "shortDoc": "Extra parameter values to pass. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "params", + "owner": "Ext.form.action.Action", + "doc": "

Extra parameter values to pass. These are added to the Form's\nExt.form.Basic.baseParams and passed to the specified URL along with the Form's\ninput fields.

\n\n\n

Parameters are encoded as standard HTTP parameters using Ext.Object.toQueryString.

\n\n", + "linenr": 40, + "html_filename": "Action.html" + }, + { + "type": "Boolean", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-reset", + "shortDoc": "When set to true, causes the Form to be\nreset on Action success. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "reset", + "owner": "Ext.form.action.Action", + "doc": "

When set to true, causes the Form to be\nreset on Action success. If specified, this happens\nbefore the success callback is called and before the Form's\nactioncomplete event fires.

\n", + "linenr": 28, + "html_filename": "Action.html" + }, + { + "type": "Object", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-scope", + "shortDoc": "The scope in which to call the configured success and failure\ncallback functions (the this reference for the callback...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "scope", + "owner": "Ext.form.action.Action", + "doc": "

The scope in which to call the configured success and failure\ncallback functions (the this reference for the callback functions).

\n", + "linenr": 79, + "html_filename": "Action.html" + }, + { + "type": "Boolean", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-submitEmptyText", + "shortDoc": "If set to true, the emptyText value will be sent with the form\nwhen it is submitted. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "submitEmptyText", + "owner": "Ext.form.action.Action", + "doc": "

If set to true, the emptyText value will be sent with the form\nwhen it is submitted. Defaults to true.

\n", + "linenr": 94, + "html_filename": "Action.html" + }, + { + "type": "Function", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-success", + "shortDoc": "The function to call when a valid success return packet is received. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "success", + "owner": "Ext.form.action.Action", + "doc": "

The function to call when a valid success return packet is received.\nThe function is passed the following parameters:

\n", + "linenr": 59, + "html_filename": "Action.html" + }, + { + "type": "Number", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-timeout", + "shortDoc": "The number of seconds to wait for a server response before\nfailing with the failureType as Ext.form.action.Action.CON...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "timeout", + "owner": "Ext.form.action.Action", + "doc": "

The number of seconds to wait for a server response before\nfailing with the failureType as Ext.form.action.Action.CONNECT_FAILURE. If not specified,\ndefaults to the configured timeout of the\nform.

\n", + "linenr": 52, + "html_filename": "Action.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-url", + "shortDoc": "The URL that the Action is to invoke. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "url", + "owner": "Ext.form.action.Action", + "doc": "

The URL that the Action is to invoke. Will default to the url\nconfigured on the form.

\n", + "linenr": 23, + "html_filename": "Action.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-waitMsg", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "waitMsg", + "owner": "Ext.form.action.Action", + "doc": "

The message to be displayed by a call to Ext.window.MessageBox.wait\nduring the time the action is being processed.

\n", + "linenr": 84, + "html_filename": "Action.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Action.html#Ext-form-action-Action-cfg-waitTitle", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "waitTitle", + "owner": "Ext.form.action.Action", + "doc": "

The title to be displayed by a call to Ext.window.MessageBox.wait\nduring the time the action is being processed.

\n", + "linenr": 89, + "html_filename": "Action.html" + } + ], + "method": [ + { + "deprecated": null, + "alias": null, + "href": "Action.html#Ext-form-action-Action-method-constructor", + "tagname": "method", + "protected": false, + "shortDoc": "Creates new Action. ...", + "static": false, + "params": [ + { + "type": "Object", + "optional": true, + "doc": "

(optional) Config object.

\n", + "name": "config" + } + ], + "private": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "doc": "

Creates new Action.

\n", + "owner": "Ext.form.action.Action", + "name": "Load", + "html_filename": "Action.html", + "return": { + "type": "Object", + "doc": "\n" + }, + "linenr": 163 + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-addStatics", + "shortDoc": "Add / override static properties of this class. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + { + "type": "Object", + "optional": false, + "doc": "\n", + "name": "members" + } + ], + "name": "addStatics", + "owner": "Ext.Base", + "doc": "

Add / override static properties of this class.

\n\n
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
\n", + "linenr": 388, + "return": { + "type": "Ext.Base", + "doc": "

this

\n" + }, + "html_filename": "Base3.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-callOverridden", + "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + { + "type": "Array/Arguments", + "optional": false, + "doc": "

The arguments, either an array or the arguments object

\n", + "name": "args" + } + ], + "name": "callOverridden", + "owner": "Ext.Base", + "doc": "

Call the original method that was previously overridden with Ext.Base.override

\n\n
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
\n", + "linenr": 269, + "return": { + "type": "Mixed", + "doc": "

Returns the result after calling the overridden method

\n" + }, + "html_filename": "Base3.html" + }, + { + "deprecated": null, + "alias": null, + "protected": true, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-callParent", + "shortDoc": "Call the parent's overridden method. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + { + "type": "Array/Arguments", + "optional": false, + "doc": "

The arguments, either an array or the arguments object\nfrom the current method, for example: this.callParent(arguments)

\n", + "name": "args" + } + ], + "name": "callParent", + "owner": "Ext.Base", + "doc": "

Call the parent's overridden method. For example:

\n\n
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
\n", + "linenr": 124, + "return": { + "type": "Mixed", + "doc": "

Returns the result from the superclass' method

\n" + }, + "html_filename": "Base3.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-create", + "shortDoc": "Create a new instance of this Class. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + + ], + "name": "create", + "owner": "Ext.Base", + "doc": "

Create a new instance of this Class.

\n\n
Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n
\n\n

All parameters are passed to the constructor of the class.

\n", + "linenr": 329, + "return": { + "type": "Object", + "doc": "

the created instance.

\n" + }, + "html_filename": "Base3.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-createAlias", + "shortDoc": "Create aliases for existing prototype methods. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + { + "type": "String/Object", + "optional": false, + "doc": "

The new method name, or an object to set multiple aliases. See\nflexSetter

\n", + "name": "alias" + }, + { + "type": "String/Object", + "optional": false, + "doc": "

The original method name

\n", + "name": "origin" + } + ], + "name": "createAlias", + "owner": "Ext.Base", + "doc": "

Create aliases for existing prototype methods. Example:

\n\n
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
\n", + "linenr": 648, + "return": { + "type": "void", + "doc": "\n" + }, + "html_filename": "Base3.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-getName", + "shortDoc": "Get the current class' name in string format. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + + ], + "name": "getName", + "owner": "Ext.Base", + "doc": "

Get the current class' name in string format.

\n\n
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
\n", + "linenr": 631, + "return": { + "type": "String", + "doc": "

className

\n" + }, + "html_filename": "Base3.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-implement", + "shortDoc": "Add methods / properties to the prototype of this class. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + { + "type": "Object", + "optional": false, + "doc": "\n", + "name": "members" + } + ], + "name": "implement", + "owner": "Ext.Base", + "doc": "

Add methods / properties to the prototype of this class.

\n\n
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
\n", + "linenr": 415, + "return": { + "type": "void", + "doc": "\n" + }, + "html_filename": "Base3.html" + }, + { + "deprecated": null, + "alias": null, + "protected": true, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-initConfig", + "shortDoc": "Initialize configuration for this class. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + { + "type": "Object", + "optional": false, + "doc": "\n", + "name": "config" + } + ], + "name": "initConfig", + "owner": "Ext.Base", + "doc": "

Initialize configuration for this class. a typical example:

\n\n
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
\n", + "linenr": 63, + "return": { "type": "Object", - "name": "config", - "doc": "

The configuration for this instance.

\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" + "doc": "

mixins The mixin prototypes as key - value pairs

\n" + }, + "html_filename": "Base3.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 1, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-method-constructor", - "shortDoc": "\n" - }, - { - "tagname": "method", - "name": "callOverridden", - "member": "Ext.Base", - "doc": "

Call the original method that was previously overridden with Ext.Base.override

\n\n
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
\n", - "params": [ - { - "type": "Array/Arguments", - "name": "args", - "doc": "

The arguments, either an array or the arguments object

\n", - "optional": false - } - ], - "return": { - "type": "Mixed", - "doc": "

Returns the result after calling the overridden method

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-override", + "shortDoc": "Override prototype members of this class. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ + { + "type": "Object", + "optional": false, + "doc": "\n", + "name": "members" + } + ], + "name": "override", + "owner": "Ext.Base", + "doc": "

Override prototype members of this class. Overridden methods can be invoked via\nExt.Base.callOverridden

\n\n
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
\n", + "linenr": 518, + "return": { + "type": "Ext.Base", + "doc": "

this

\n" + }, + "html_filename": "Base3.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js", - "linenr": 279, - "html_filename": "Base3.html", - "href": "Base3.html#Ext-Base-method-callOverridden", - "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo..." - }, - { - "tagname": "method", - "name": "getName", - "member": "Ext.Base", - "doc": "

Get the current class' name in string format.

\n\n
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
\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": true, + "tagname": "method", + "href": "Base3.html#Ext-Base-method-statics", + "shortDoc": "Get the reference to the class from which this object was instantiated. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "params": [ - ], - "return": { + ], + "name": "statics", + "owner": "Ext.Base", + "doc": "

Get the reference to the class from which this object was instantiated. Note that unlike Ext.Base.self,\nthis.statics() is scope-independent and it always returns the class from which it was called, regardless of what\nthis points to during run-time

\n\n
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
\n", + "linenr": 199, + "return": { + "type": "Class", + "doc": "\n" + }, + "html_filename": "Base3.html" + } + ], + "property": [ + { "type": "String", - "doc": "

className

\n" + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-CLIENT_INVALID", + "shortDoc": "Failure type returned when client side validation of the Form fails\nthus aborting a submit action. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "CLIENT_INVALID", + "owner": "Ext.form.action.Action", + "doc": "

Failure type returned when client side validation of the Form fails\nthus aborting a submit action. Client side validation is performed unless\nExt.form.action.Submit.clientValidation is explicitly set to false.

\n", + "linenr": 271, + "html_filename": "Action.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js", - "linenr": 652, - "html_filename": "Base3.html", - "href": "Base3.html#Ext-Base-method-getName", - "shortDoc": "Get the current class' name in string format.\n\nExt.define('My.cool.Class', {\n constructor: function() {\n al..." - } - ], - "property": [ - { - "tagname": "property", - "name": "CLIENT_INVALID", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

Failure type returned when client side validation of the Form fails\nthus aborting a submit action. Client side validation is performed unless\nExt.form.action.Submit.clientValidation is explicitly set to false.

\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 271, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-CLIENT_INVALID", - "shortDoc": "Failure type returned when client side validation of the Form fails\nthus aborting a submit action. Client side valida..." - }, - { - "tagname": "property", - "name": "CONNECT_FAILURE", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

Failure type returned when a communication error happens when attempting\nto send a request to the remote server. The response may be examined to\nprovide further information.

\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 292, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-CONNECT_FAILURE", - "shortDoc": "Failure type returned when a communication error happens when attempting\nto send a request to the remote server. The ..." - }, - { - "tagname": "property", - "name": "LOAD_FAILURE", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

Failure type returned when the response's success\nproperty is set to false, or no field values are returned in the response's\ndata property.

\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 302, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-LOAD_FAILURE", - "shortDoc": "Failure type returned when the response's success\nproperty is set to false, or no field values are returned in the re..." - }, - { - "tagname": "property", - "name": "SERVER_INVALID", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

Failure type returned when server side processing fails and the result's\nsuccess property is set to false.

\n\n\n

In the case of a form submission, field-specific error messages may be returned in the\nresult's errors property.

\n\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 281, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-SERVER_INVALID", - "shortDoc": "Failure type returned when server side processing fails and the result's\nsuccess property is set to false.\n\n\nIn the c..." - }, - { - "tagname": "property", - "name": "addStatics", - "member": "Ext.Base", - "type": "Function", - "doc": "

Add / override static properties of this class.

\n\n
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
\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js", - "linenr": 399, - "html_filename": "Base3.html", - "href": "Base3.html#Ext-Base-property-addStatics", - "shortDoc": "Add / override static properties of this class.\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics(..." - }, - { - "tagname": "property", - "name": "borrow", - "member": "Ext.Base", - "type": "Function", - "doc": "

Borrow another class' members to the prototype of this class.

\n\n
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
\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js", - "linenr": 492, - "html_filename": "Base3.html", - "href": "Base3.html#Ext-Base-property-borrow", - "shortDoc": "Borrow another class' members to the prototype of this class.\n\nExt.define('Bank', {\n money: '$$$',\n printMoney:..." - }, - { - "tagname": "property", - "name": "create", - "member": "Ext.Base", - "type": "Function", - "doc": "

Create a new instance of this Class.

\n\n
Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n
\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js", - "linenr": 340, - "html_filename": "Base3.html", - "href": "Base3.html#Ext-Base-property-create", - "shortDoc": "Create a new instance of this Class.\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfi..." - }, - { - "tagname": "property", - "name": "createAlias", - "member": "Ext.Base", - "type": "Function", - "doc": "

Create aliases for existing prototype methods. Example:

\n\n
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
\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js", - "linenr": 670, - "html_filename": "Base3.html", - "href": "Base3.html#Ext-Base-property-createAlias", - "shortDoc": "Create aliases for existing prototype methods. Example:\n\nExt.define('My.cool.Class', {\n method1: function() { ... ..." - }, - { - "tagname": "property", - "name": "failureType", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

The type of failure detected will be one of these: Ext.form.action.Action.CLIENT_INVALID,\nExt.form.action.Action.SERVER_INVALID, Ext.form.action.Action.CONNECT_FAILURE, or\nExt.form.action.Action.LOAD_FAILURE. Usage:

\n\n
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.result;\n                },\n                failure: function(form, action){\n                    if (action.failureType === Ext.form.action.Action.CONNECT_FAILURE) {\n                        Ext.Msg.alert('Error',\n                            'Status:'+action.response.status+': '+\n                            action.response.statusText);\n                    }\n                    if (action.failureType === Ext.form.action.Action.SERVER_INVALID){\n                        // server responded with success = false\n                        Ext.Msg.alert('Invalid', action.result.errormsg);\n                    }\n                }\n            });\n        }\n    }\n},{\n    text: 'Reset',\n    handler: function(){\n        fp.getForm().reset();\n    }\n}]\n
\n\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 108, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-failureType", - "shortDoc": "The type of failure detected will be one of these: Ext.form.action.Action.CLIENT_INVALID,\nExt.form.action.Action.SERV..." - }, - { - "tagname": "property", - "name": "implement", - "member": "Ext.Base", - "type": "Function", - "doc": "

Add methods / properties to the prototype of this class.

\n\n
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
\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js", - "linenr": 428, - "html_filename": "Base3.html", - "href": "Base3.html#Ext-Base-property-implement", - "shortDoc": "Add methods / properties to the prototype of this class.\n\nExt.define('My.awesome.Cat', {\n constructor: function() ..." - }, - { - "tagname": "property", - "name": "override", - "member": "Ext.Base", - "type": "Function", - "doc": "

Override prototype members of this class. Overridden methods can be invoked via\nExt.Base.callOverridden

\n\n
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
\n", - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js", - "linenr": 536, - "html_filename": "Base3.html", - "href": "Base3.html#Ext-Base-property-override", - "shortDoc": "Override prototype members of this class. Overridden methods can be invoked via\nExt.Base.callOverridden\n\nExt.define('..." - }, - { - "tagname": "property", - "name": "response", - "member": "Ext.form.action.Action", - "type": "Object", - "doc": "

The raw XMLHttpRequest object used to perform the action.

\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 152, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-response" - }, - { - "tagname": "property", - "name": "result", - "member": "Ext.form.action.Action", - "type": "Object", - "doc": "

The decoded response object containing a boolean success property and\nother, action-specific properties.

\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 158, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-result" - }, - { - "tagname": "property", - "name": "run", - "member": "Ext.form.action.Action", - "type": "Object", - "doc": "

Invokes this action using the current configuration.

\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 179, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-run" - }, - { - "tagname": "property", - "name": "type", - "member": "Ext.form.action.Action", - "type": "String", - "doc": "

The type of action this Action instance performs.\nCurrently only \"submit\" and \"load\" are supported.

\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Action.js", - "linenr": 101, - "html_filename": "Action2.html", - "href": "Action2.html#Ext-form-action-Action-property-type" - } - ], - "event": [ + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-CONNECT_FAILURE", + "shortDoc": "Failure type returned when a communication error happens when attempting\nto send a request to the remote server. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "CONNECT_FAILURE", + "owner": "Ext.form.action.Action", + "doc": "

Failure type returned when a communication error happens when attempting\nto send a request to the remote server. The response may be examined to\nprovide further information.

\n", + "linenr": 292, + "html_filename": "Action.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-LOAD_FAILURE", + "shortDoc": "Failure type returned when the response's success\nproperty is set to false, or no field values are returned in the re...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "LOAD_FAILURE", + "owner": "Ext.form.action.Action", + "doc": "

Failure type returned when the response's success\nproperty is set to false, or no field values are returned in the response's\ndata property.

\n", + "linenr": 302, + "html_filename": "Action.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-SERVER_INVALID", + "shortDoc": "Failure type returned when server side processing fails and the result's\nsuccess property is set to false. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "SERVER_INVALID", + "owner": "Ext.form.action.Action", + "doc": "

Failure type returned when server side processing fails and the result's\nsuccess property is set to false.

\n\n\n

In the case of a form submission, field-specific error messages may be returned in the\nresult's errors property.

\n\n", + "linenr": 281, + "html_filename": "Action.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-failureType", + "shortDoc": "The type of failure detected will be one of these: Ext.form.action.Action.CLIENT_INVALID,\nExt.form.action.Action.SERV...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "failureType", + "owner": "Ext.form.action.Action", + "doc": "

The type of failure detected will be one of these: Ext.form.action.Action.CLIENT_INVALID,\nExt.form.action.Action.SERVER_INVALID, Ext.form.action.Action.CONNECT_FAILURE, or\nExt.form.action.Action.LOAD_FAILURE. Usage:

\n\n
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.result;\n                },\n                failure: function(form, action){\n                    if (action.failureType === Ext.form.action.Action.CONNECT_FAILURE) {\n                        Ext.Msg.alert('Error',\n                            'Status:'+action.response.status+': '+\n                            action.response.statusText);\n                    }\n                    if (action.failureType === Ext.form.action.Action.SERVER_INVALID){\n                        // server responded with success = false\n                        Ext.Msg.alert('Invalid', action.result.errormsg);\n                    }\n                }\n            });\n        }\n    }\n},{\n    text: 'Reset',\n    handler: function(){\n        fp.getForm().reset();\n    }\n}]\n
\n\n", + "linenr": 106, + "html_filename": "Action.html" + }, + { + "type": "Object", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-response", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "response", + "owner": "Ext.form.action.Action", + "doc": "

The raw XMLHttpRequest object used to perform the action.

\n", + "linenr": 150, + "html_filename": "Action.html" + }, + { + "type": "Object", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-result", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "result", + "owner": "Ext.form.action.Action", + "doc": "

The decoded response object containing a boolean success property and\nother, action-specific properties.

\n", + "linenr": 156, + "html_filename": "Action.html" + }, + { + "type": "Object", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-run", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "run", + "owner": "Ext.form.action.Action", + "doc": "

Invokes this action using the current configuration.

\n", + "linenr": 179, + "html_filename": "Action.html" + }, + { + "type": "Class", + "deprecated": null, + "alias": null, + "protected": true, + "tagname": "property", + "href": "Base3.html#Ext-Base-property-self", + "shortDoc": "Get the reference to the current class from which this object was instantiated. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", + "private": false, + "name": "self", + "owner": "Ext.Base", + "doc": "

Get the reference to the current class from which this object was instantiated. Unlike Ext.Base.statics,\nthis.self is scope-dependent and it's meant to be used for dynamic inheritance. See Ext.Base.statics\nfor a detailed comparison

\n\n
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
\n", + "linenr": 18, + "html_filename": "Base3.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "Action.html#Ext-form-action-Action-property-type", + "shortDoc": "The type of action this Action instance performs. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Action.js", + "private": false, + "name": "type", + "owner": "Ext.form.action.Action", + "doc": "

The type of action this Action instance performs.\nCurrently only \"submit\" and \"load\" are supported.

\n", + "linenr": 99, + "html_filename": "Action.html" + } + ], + "cssVar": [ - ], - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/action/Load.js", - "linenr": 1, - "html_filename": "Load.html", - "href": "Load.html#Ext-form-action-Load", - "cssVar": [ + ], + "cssMixin": [ - ], - "cssMixin": [ + ], + "event": [ - ], - "component": false, + ] + }, + "singleton": false, + "alias": null, "superclasses": [ "Ext.Base", "Ext.form.action.Action" ], + "protected": false, + "tagname": "class", + "mixins": [ + + ], + "href": "Load.html#Ext-form-action-Load", "subclasses": [ "Ext.form.action.DirectLoad" ], + "static": false, + "author": null, + "component": false, + "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/action/Load.js", + "private": false, + "alternateClassNames": [ + "Ext.form.Action.Load" + ], + "name": "Ext.form.action.Load", + "doc": "

A class which handles loading of data from a server into the Fields of an Ext.form.Basic.

\n\n\n

Instances of this class are only created by a Form when\nloading.

\n\n\n

Response Packet Criteria

\n\n\n

A response packet must contain:\n

\n

JSON Packets

\n

By default, response packets are assumed to be JSON, so for the following form load call:\n

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.getForm().load({\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
\na success response packet may look like this:

\n
{\n    success: true,\n    data: {\n        clientName: \"Fred. Olsen Lines\",\n        portOfLoading: \"FXT\",\n        portOfDischarge: \"OSL\"\n    }\n}
\nwhile a failure response packet may look like this:

\n\n\n
{\n    success: false,\n    errorMessage: \"Consignment reference not found\"\n}
\n\n\n

Other data may be placed into the response for processing the Form's\ncallback or event handler methods. The object decoded from this JSON is available in the\nresult property.

\n\n", "mixedInto": [ ], - "allMixins": [ + "linenr": 1, + "xtypes": [ - ] + ], + "html_filename": "Load.html", + "extends": "Ext.form.action.Action" }); \ No newline at end of file