1 Ext.data.JsonP.Ext_form_Basic({
3 "name": "Ext.form.Basic",
4 "doc": "<p>Provides input field management, validation, submission, and form loading services for the collection\nof <a href=\"#/api/Ext.form.field.Field\" rel=\"Ext.form.field.Field\" class=\"docClass\">Field</a> instances within a <a href=\"#/api/Ext.container.Container\" rel=\"Ext.container.Container\" class=\"docClass\">Ext.container.Container</a>. It is recommended\nthat you use a <a href=\"#/api/Ext.form.Panel\" rel=\"Ext.form.Panel\" class=\"docClass\">Ext.form.Panel</a> as the form container, as that has logic to automatically\nhook up an instance of <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Ext.form.Basic</a> (plus other conveniences related to field configuration.)</p>\n\n<h1>Form Actions</h1>\n\n<p>The Basic class delegates the handling of form loads and submits to instances of <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Ext.form.action.Action</a>.\nSee the various Action implementations for specific details of each one's functionality, as well as the\ndocumentation for <a href=\"#/api/Ext.form.Basic-method-doAction\" rel=\"Ext.form.Basic-method-doAction\" class=\"docClass\">doAction</a> which details the configuration options that can be specified in\neach action call.</p>\n\n<p>The default submit Action is <a href=\"#/api/Ext.form.action.Submit\" rel=\"Ext.form.action.Submit\" class=\"docClass\">Ext.form.action.Submit</a>, which uses an Ajax request to submit the\nform's values to a configured URL. To enable normal browser submission of an <a href=\"#/api/Ext\" rel=\"Ext\" class=\"docClass\">Ext</a> form, use the\n<a href=\"#/api/Ext.form.Basic-cfg-standardSubmit\" rel=\"Ext.form.Basic-cfg-standardSubmit\" class=\"docClass\">standardSubmit</a> config option.</p>\n\n<p>Note: File uploads are not performed using normal 'Ajax' techniques; see the description for\n<a href=\"#/api/Ext.form.Basic-method-hasUpload\" rel=\"Ext.form.Basic-method-hasUpload\" class=\"docClass\">hasUpload</a> for details.</p>\n\n<h1>Example usage:</h1>\n\n<pre><code>Ext.create('Ext.form.Panel', {\n title: 'Basic Form',\n renderTo: Ext.getBody(),\n bodyPadding: 5,\n width: 350,\n\n // Any configuration items here will be automatically passed along to\n // the <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Ext.form.Basic</a> instance when it gets created.\n\n // The form will submit an AJAX request to this URL when submitted\n url: 'save-form.php',\n\n items: [{\n fieldLabel: 'Field',\n name: 'theField'\n }],\n\n buttons: [{\n text: 'Submit',\n handler: function() {\n // The getForm() method returns the <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Ext.form.Basic</a> instance:\n var form = this.up('form').getForm();\n if (form.isValid()) {\n // Submit the Ajax request and handle the response\n form.submit({\n success: function(form, action) {\n Ext.Msg.alert('Success', action.result.msg);\n },\n failure: function(form, action) {\n Ext.Msg.alert('Failed', action.result.msg);\n }\n });\n }\n }\n }]\n});\n</code></pre>\n",
5 "extends": "Ext.util.Observable",
9 "alternateClassNames": [
21 "member": "Ext.form.Basic",
23 "doc": "<p>(Optional) If specified, load and submit actions will be handled\nwith <a href=\"#/api/Ext.form.action.DirectLoad\" rel=\"Ext.form.action.DirectLoad\" class=\"docClass\">Ext.form.action.DirectLoad</a> and <a href=\"#/api/Ext.form.action.DirectLoad\" rel=\"Ext.form.action.DirectLoad\" class=\"docClass\">Ext.form.action.DirectLoad</a>.\nMethods which have been imported by <a href=\"#/api/Ext.direct.Manager\" rel=\"Ext.direct.Manager\" class=\"docClass\">Ext.direct.Manager</a> can be specified here to load and submit\nforms.\nSuch as the following:</p>\n\n<pre><code>api: {\n load: App.ss.MyProfile.load,\n submit: App.ss.MyProfile.submit\n}\n</code></pre>\n\n\n<p>Load actions can use <code><a href=\"#/api/Ext.form.Basic-cfg-paramOrder\" rel=\"Ext.form.Basic-cfg-paramOrder\" class=\"docClass\">paramOrder</a></code> or <code><a href=\"#/api/Ext.form.Basic-cfg-paramsAsHash\" rel=\"Ext.form.Basic-cfg-paramsAsHash\" class=\"docClass\">paramsAsHash</a></code>\nto customize how the load method is invoked.\nSubmit actions will always use a standard form submit. The <tt>formHandler</tt> configuration must\nbe set on the associated server-side method which has been imported by <a href=\"#/api/Ext.direct.Manager\" rel=\"Ext.direct.Manager\" class=\"docClass\">Ext.direct.Manager</a>.</p>\n\n",
25 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
27 "html_filename": "Basic.html",
28 "href": "Basic.html#Ext-form-Basic-cfg-api",
29 "shortDoc": "(Optional) If specified, load and submit actions will be handled\nwith Ext.form.action.DirectLoad and Ext.form.action...."
34 "member": "Ext.form.Basic",
36 "doc": "<p>Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.</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",
38 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
40 "html_filename": "Basic.html",
41 "href": "Basic.html#Ext-form-Basic-cfg-baseParams",
42 "shortDoc": "Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.\n\n\nParameters are encoded as standard ..."
46 "name": "errorReader",
47 "member": "Ext.form.Basic",
48 "type": "Ext.data.reader.Reader",
49 "doc": "<p>An Ext.data.DataReader (e.g. <a href=\"#/api/Ext.data.reader.Xml\" rel=\"Ext.data.reader.Xml\" class=\"docClass\">Ext.data.reader.Xml</a>) to be used to\nread field error messages returned from 'submit' actions. This is optional\nas there is built-in support for processing JSON responses.</p>\n\n\n<p>The Records which provide messages for the invalid Fields must use the\nField name (or id) as the Record ID, and must contain a field called 'msg'\nwhich contains the error message.</p>\n\n\n<p>The errorReader does not have to be a full-blown implementation of a\nReader. It simply needs to implement a <tt>read(xhr)</tt> function\nwhich returns an Array of Records in an object with the following\nstructure:</p>\n\n\n<pre><code>{\n records: recordArray\n}\n</code></pre>\n\n",
51 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
53 "html_filename": "Basic.html",
54 "href": "Basic.html#Ext-form-Basic-cfg-errorReader",
55 "shortDoc": "An Ext.data.DataReader (e.g. Ext.data.reader.Xml) to be used to\nread field error messages returned from 'submit' acti..."
60 "member": "Ext.util.Observable",
62 "doc": "<p>(optional) <p>A config object containing one or more event handlers to be added to this\nobject during initialization. This should be a valid listeners config object as specified in the\n<a href=\"#/api/Ext.form.Basic-method-addListener\" rel=\"Ext.form.Basic-method-addListener\" class=\"docClass\">addListener</a> example for attaching multiple handlers at once.</p></p>\n\n<br><p><b><u>DOM events from ExtJs <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a></u></b></p>\n\n\n<br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this\n\n\n<p>is usually only done when extra value can be added. For example the <a href=\"#/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>'s\n<b><code><a href=\"#/api/Ext.view.View--click\" rel=\"Ext.view.View--click\" class=\"docClass\">click</a></code></b> event passing the node clicked on. To access DOM\nevents directly from a child element of a Component, we need to specify the <code>element</code> option to\nidentify the Component property to add a DOM listener to:</p>\n\n<pre><code>new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n</code></pre>\n\n\n<p></p></p>\n",
64 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
66 "html_filename": "Observable.html",
67 "href": "Observable.html#Ext-util-Observable-cfg-listeners",
68 "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization. T..."
73 "member": "Ext.form.Basic",
75 "doc": "<p>The request method to use (GET or POST) for form actions if one isn't supplied in the action options.</p>\n",
77 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
79 "html_filename": "Basic.html",
80 "href": "Basic.html#Ext-form-Basic-cfg-method"
85 "member": "Ext.form.Basic",
86 "type": "Array/String",
87 "doc": "<p>A list of params to be executed server side.\nDefaults to <tt>undefined</tt>. Only used for the <code><a href=\"#/api/Ext.form.Basic-cfg-api\" rel=\"Ext.form.Basic-cfg-api\" class=\"docClass\">api</a></code>\n<code>load</code> configuration.</p>\n\n\n<p>Specify the params in the order in which they must be executed on the\nserver-side as either (1) an Array of String values, or (2) a String of params\ndelimited by either whitespace, comma, or pipe. For example,\nany of the following would be acceptable:</p>\n\n\n<pre><code>paramOrder: ['param1','param2','param3']\nparamOrder: 'param1 param2 param3'\nparamOrder: 'param1,param2,param3'\nparamOrder: 'param1|param2|param'\n </code></pre>\n\n",
89 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
91 "html_filename": "Basic.html",
92 "href": "Basic.html#Ext-form-Basic-cfg-paramOrder",
93 "shortDoc": "A list of params to be executed server side.\nDefaults to undefined. Only used for the api\nload configuration.\n\n\nSpeci..."
97 "name": "paramsAsHash",
98 "member": "Ext.form.Basic",
100 "doc": "<p>Only used for the <code><a href=\"#/api/Ext.form.Basic-cfg-api\" rel=\"Ext.form.Basic-cfg-api\" class=\"docClass\">api</a></code>\n<code>load</code> configuration. If <tt>true</tt>, parameters will be sent as a\nsingle hash collection of named arguments (defaults to <tt>false</tt>). Providing a\n<tt><a href=\"#/api/Ext.form.Basic-cfg-paramOrder\" rel=\"Ext.form.Basic-cfg-paramOrder\" class=\"docClass\">paramOrder</a></tt> nullifies this configuration.</p>\n",
102 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
104 "html_filename": "Basic.html",
105 "href": "Basic.html#Ext-form-Basic-cfg-paramsAsHash",
106 "shortDoc": "Only used for the api\nload configuration. If true, parameters will be sent as a\nsingle hash collection of named argum..."
111 "member": "Ext.form.Basic",
112 "type": "Ext.data.reader.Reader",
113 "doc": "<p>An Ext.data.DataReader (e.g. <a href=\"#/api/Ext.data.reader.Xml\" rel=\"Ext.data.reader.Xml\" class=\"docClass\">Ext.data.reader.Xml</a>) to be used to read\ndata when executing 'load' actions. This is optional as there is built-in\nsupport for processing JSON responses.</p>\n",
115 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
117 "html_filename": "Basic.html",
118 "href": "Basic.html#Ext-form-Basic-cfg-reader",
119 "shortDoc": "An Ext.data.DataReader (e.g. Ext.data.reader.Xml) to be used to read\ndata when executing 'load' actions. This is opti..."
123 "name": "standardSubmit",
124 "member": "Ext.form.Basic",
126 "doc": "<p>If set to <tt>true</tt>, a standard HTML form submit is used instead\nof a XHR (Ajax) style form submission. Defaults to <tt>false</tt>. All of\nthe field values, plus any additional params configured via <a href=\"#/api/Ext.form.Basic-cfg-baseParams\" rel=\"Ext.form.Basic-cfg-baseParams\" class=\"docClass\">baseParams</a>\nand/or the <code>options</code> to <a href=\"#/api/Ext.form.Basic-method-submit\" rel=\"Ext.form.Basic-method-submit\" class=\"docClass\">submit</a>, will be included in the\nvalues submitted in the form.</p>\n\n",
128 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
130 "html_filename": "Basic.html",
131 "href": "Basic.html#Ext-form-Basic-cfg-standardSubmit",
132 "shortDoc": "If set to true, a standard HTML form submit is used instead\nof a XHR (Ajax) style form submission. Defaults to false...."
137 "member": "Ext.form.Basic",
139 "doc": "<p>Timeout for form actions in seconds (default is 30 seconds).</p>\n",
141 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
143 "html_filename": "Basic.html",
144 "href": "Basic.html#Ext-form-Basic-cfg-timeout"
148 "name": "trackResetOnLoad",
149 "member": "Ext.form.Basic",
151 "doc": "<p>If set to <tt>true</tt>, <a href=\"#/api/Ext.form.Basic-method-reset\" rel=\"Ext.form.Basic-method-reset\" class=\"docClass\">reset</a>() resets to the last loaded\nor <a href=\"#/api/Ext.form.Basic-method-setValues\" rel=\"Ext.form.Basic-method-setValues\" class=\"docClass\">setValues</a>() data instead of when the form was first created. Defaults to <tt>false</tt>.</p>\n",
153 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
155 "html_filename": "Basic.html",
156 "href": "Basic.html#Ext-form-Basic-cfg-trackResetOnLoad",
157 "shortDoc": "If set to true, reset() resets to the last loaded\nor setValues() data instead of when the form was first created. De..."
162 "member": "Ext.form.Basic",
164 "doc": "<p>The URL to use for form actions if one isn't supplied in the\n<a href=\"#/api/Ext.form.Basic-method-doAction\" rel=\"Ext.form.Basic-method-doAction\" class=\"docClass\">doAction</a> options.</p>\n",
166 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
168 "html_filename": "Basic.html",
169 "href": "Basic.html#Ext-form-Basic-cfg-url"
173 "name": "waitMsgTarget",
174 "member": "Ext.form.Basic",
176 "doc": "<p>By default wait messages are displayed with Ext.MessageBox.wait. You can target a specific\nelement by passing it or its id or mask the form itself by passing in true. Defaults to <tt>undefined</tt>.</p>\n",
178 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
180 "html_filename": "Basic.html",
181 "href": "Basic.html#Ext-form-Basic-cfg-waitMsgTarget",
182 "shortDoc": "By default wait messages are displayed with Ext.MessageBox.wait. You can target a specific\nelement by passing it or i..."
187 "member": "Ext.form.Basic",
189 "doc": "<p>The default title to show for the waiting message box (defaults to <tt>'Please Wait...'</tt>)</p>\n",
191 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
193 "html_filename": "Basic.html",
194 "href": "Basic.html#Ext-form-Basic-cfg-waitTitle"
201 "member": "Ext.form.Basic",
205 "type": "Ext.container.Container",
207 "doc": "<p>The component that is the container for the form, usually a <a href=\"#/api/Ext.form.Panel\" rel=\"Ext.form.Panel\" class=\"docClass\">Ext.form.Panel</a></p>\n",
213 "doc": "<p>Configuration options. These are normally specified in the config to the\n<a href=\"#/api/Ext.form.Panel\" rel=\"Ext.form.Panel\" class=\"docClass\">Ext.form.Panel</a> constructor, which passes them along to the BasicForm automatically.</p>\n",
223 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
225 "html_filename": "Basic.html",
226 "href": "Basic.html#Ext-form-Basic-method-constructor",
232 "member": "Ext.util.Observable",
233 "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
236 "type": "Object/String",
238 "doc": "<p>Either an object with event names as properties with a value of <code>true</code>\nor the first event name string if multiple event names are being passed as separate parameters.</p>\n",
244 "doc": "<p>[additional] Optional additional event names if multiple event names are being passed as separate parameters.\nUsage:</p>\n\n<pre><code>this.addEvents('storeloaded', 'storecleared');\n</code></pre>\n\n",
254 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
256 "html_filename": "Observable.html",
257 "href": "Observable.html#Ext-util-Observable-method-addEvents",
258 "shortDoc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n"
262 "name": "addListener",
263 "member": "Ext.util.Observable",
264 "doc": "<p>Appends an event handler to this object.</p>\n",
269 "doc": "<p>The name of the event to listen for. May also be an object who's property names are event names. See</p>\n",
275 "doc": "<p>The method the event invokes.</p>\n",
281 "doc": "<p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></p>\n",
287 "doc": "<p>(optional) An object containing handler configuration.\nproperties. This may contain any of the following properties:<ul>\n<li><b>scope</b> : Object<div class=\"sub-desc\">The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></div></li>\n<li><b>delay</b> : Number<div class=\"sub-desc\">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>\n<li><b>single</b> : Boolean<div class=\"sub-desc\">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>\n<li><b>buffer</b> : Number<div class=\"sub-desc\">Causes the handler to be scheduled to run in an <a href=\"#/api/Ext.util.DelayedTask\" rel=\"Ext.util.DelayedTask\" class=\"docClass\">Ext.util.DelayedTask</a> delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>\n<li><b>target</b> : Observable<div class=\"sub-desc\">Only call the handler if the event was fired on the target Observable, <i>not</i>\nif the event was bubbled up from a child Observable.</div></li>\n<li><b>element</b> : String<div class=\"sub-desc\"><b>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</b>\nThe name of a Component property which references an element to add a listener to.</p>\n\n<p>This option is useful during Component construction to add DOM event listeners to elements of <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which\nwill exist only after the Component is rendered. For example, to add a click listener to a Panel's body:\n<pre><code>new Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n</code></pre></p>\n\n\n<p>When added in this way, the options available are the options applicable to <a href=\"#/api/Ext.core.Element-method-addListener\" rel=\"Ext.core.Element-method-addListener\" class=\"docClass\">Ext.core.Element.addListener</a></p>\n\n\n<p></div></li>\n</ul><br></p>\n\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA delayed, one-time listener.\n<pre><code>myPanel.on('hide', this.handleClick, this, {\nsingle: true,\ndelay: 100\n});</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple events. For example:\n<pre><code>myGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n</code></pre>.\n<p>\n\n",
297 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
299 "html_filename": "Observable.html",
300 "href": "Observable.html#Ext-util-Observable-method-addListener",
301 "shortDoc": "<p>Appends an event handler to this object.</p>\n"
305 "name": "addManagedListener",
306 "member": "Ext.util.Observable",
307 "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n",
310 "type": "Observable/Element",
312 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
316 "type": "Object/String",
318 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
324 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
330 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the scope (<code>this</code> reference) in which the handler function is executed.</p>\n",
336 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
346 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
348 "html_filename": "Observable.html",
349 "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
350 "shortDoc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n"
354 "name": "applyIfToFields",
355 "member": "Ext.form.Basic",
356 "doc": "<p>Calls <a href=\"#/api/Ext-method-applyIf\" rel=\"Ext-method-applyIf\" class=\"docClass\">Ext.applyIf</a> for all field in this form with the passed object.</p>\n",
361 "doc": "<p>The object to be applied</p>\n",
366 "type": "Ext.form.Basic",
367 "doc": "<p>this</p>\n"
371 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
373 "html_filename": "Basic.html",
374 "href": "Basic.html#Ext-form-Basic-method-applyIfToFields",
375 "shortDoc": "<p>Calls <a href=\"#/api/Ext-method-applyIf\" rel=\"Ext-method-applyIf\" class=\"docClass\">Ext.applyIf</a> for all field in this form with the passed object.</p>\n"
379 "name": "applyToFields",
380 "member": "Ext.form.Basic",
381 "doc": "<p>Calls <a href=\"#/api/Ext-method-apply\" rel=\"Ext-method-apply\" class=\"docClass\">Ext.apply</a> for all fields in this form with the passed object.</p>\n",
386 "doc": "<p>The object to be applied</p>\n",
391 "type": "Ext.form.Basic",
392 "doc": "<p>this</p>\n"
396 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
398 "html_filename": "Basic.html",
399 "href": "Basic.html#Ext-form-Basic-method-applyToFields",
400 "shortDoc": "<p>Calls <a href=\"#/api/Ext-method-apply\" rel=\"Ext-method-apply\" class=\"docClass\">Ext.apply</a> for all fields in this form with the passed object.</p>\n"
405 "member": "Ext.util.Observable",
406 "doc": "<p>Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.</p>\n",
409 "type": "Observable",
411 "doc": "<p>The Observable to capture events from.</p>\n",
417 "doc": "<p>The function to call when an event is fired.</p>\n",
423 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>\n",
433 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
435 "html_filename": "Observable.html",
436 "href": "Observable.html#Ext-util-Observable-method-capture",
437 "shortDoc": "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + ..."
441 "name": "checkDirty",
442 "member": "Ext.form.Basic",
443 "doc": "<p>Check whether the dirty state of the entire form has changed since it was last checked, and\nif so fire the <a href=\"#/api/Ext.form.Basic-event-dirtychange\" rel=\"Ext.form.Basic-event-dirtychange\" class=\"docClass\">dirtychange</a> event. This is automatically invoked\nwhen an individual field's dirty state changes.</p>\n",
453 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
455 "html_filename": "Basic.html",
456 "href": "Basic.html#Ext-form-Basic-method-checkDirty",
457 "shortDoc": "Check whether the dirty state of the entire form has changed since it was last checked, and\nif so fire the dirtychang..."
461 "name": "checkValidity",
462 "member": "Ext.form.Basic",
463 "doc": "<p>Check whether the validity of the entire form has changed since it was last checked, and\nif so fire the <a href=\"#/api/Ext.form.Basic-event-validitychange\" rel=\"Ext.form.Basic-event-validitychange\" class=\"docClass\">validitychange</a> event. This is automatically invoked\nwhen an individual field's validity changes.</p>\n",
473 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
475 "html_filename": "Basic.html",
476 "href": "Basic.html#Ext-form-Basic-method-checkValidity",
477 "shortDoc": "Check whether the validity of the entire form has changed since it was last checked, and\nif so fire the validitychang..."
481 "name": "clearInvalid",
482 "member": "Ext.form.Basic",
483 "doc": "<p>Clears all invalid field messages in this form.</p>\n",
488 "type": "Ext.form.Basic",
489 "doc": "<p>this</p>\n"
493 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
495 "html_filename": "Basic.html",
496 "href": "Basic.html#Ext-form-Basic-method-clearInvalid",
497 "shortDoc": "<p>Clears all invalid field messages in this form.</p>\n"
501 "name": "clearListeners",
502 "member": "Ext.util.Observable",
503 "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
513 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
515 "html_filename": "Observable.html",
516 "href": "Observable.html#Ext-util-Observable-method-clearListeners",
517 "shortDoc": "<p>Removes all listeners for this object including the managed listeners</p>\n"
521 "name": "clearManagedListeners",
522 "member": "Ext.util.Observable",
523 "doc": "<p>Removes all managed listeners for this object.</p>\n",
533 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
535 "html_filename": "Observable.html",
536 "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
537 "shortDoc": "<p>Removes all managed listeners for this object.</p>\n"
542 "member": "Ext.form.Basic",
543 "doc": "<p>Destroys this object.</p>\n",
553 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
555 "html_filename": "Basic.html",
556 "href": "Basic.html#Ext-form-Basic-method-destroy",
557 "shortDoc": "<p>Destroys this object.</p>\n"
562 "member": "Ext.form.Basic",
563 "doc": "<p>Performs a predefined action (an implementation of <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Ext.form.action.Action</a>)\nto perform application-specific processing.</p>\n",
566 "type": "String/Ext.form.action.Action",
568 "doc": "<p>The name of the predefined action type,\nor instance of <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Ext.form.action.Action</a> to perform.</p>\n",
574 "doc": "<p>(optional) The options to pass to the <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Ext.form.action.Action</a>\nthat will get created, if the <tt>action</tt> argument is a String.</p>\n\n<p>All of the config options listed below are supported by both the\n<a href=\"#/api/Ext.form.action.Submit\" rel=\"Ext.form.action.Submit\" class=\"docClass\">submit</a> and <a href=\"#/api/Ext.form.action.Load\" rel=\"Ext.form.action.Load\" class=\"docClass\">load</a>\nactions unless otherwise noted (custom actions could also accept\nother config options):</p>\n\n\n<ul>\n\n<li><b>url</b> : String<div class=\"sub-desc\">The url for the action (defaults\nto the form's <a href=\"#/api/Ext.form.Basic-cfg-url\" rel=\"Ext.form.Basic-cfg-url\" class=\"docClass\">url</a>.)</div></li>\n\n<li><b>method</b> : String<div class=\"sub-desc\">The form method to use (defaults\nto the form's method, or POST if not defined)</div></li>\n\n<li><b>params</b> : String/Object<div class=\"sub-desc\"><p>The params to pass\n(defaults to the form's baseParams, or none if not defined)</p>\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></div></li>\n\n<li><b>headers</b> : Object<div class=\"sub-desc\">Request headers to set for the action.</div></li>\n\n<li><b>success</b> : Function<div class=\"sub-desc\">The callback that will\nbe invoked after a successful response (see top of\n<a href=\"#/api/Ext.form.action.Submit\" rel=\"Ext.form.action.Submit\" class=\"docClass\">submit</a> and <a href=\"#/api/Ext.form.action.Load\" rel=\"Ext.form.action.Load\" class=\"docClass\">load</a>\nfor a description of what constitutes a successful response).\nThe function is passed the following parameters:<ul>\n<li><tt>form</tt> : The <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Ext.form.Basic</a> that requested the action.</li>\n<li><tt>action</tt> : The <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Action</a> object which performed the operation.\n<div class=\"sub-desc\">The action object contains these properties of interest:<ul>\n<li><tt><a href=\"#/api/Ext.form.action.Action-property-response\" rel=\"Ext.form.action.Action-property-response\" class=\"docClass\">response</a></tt></li>\n<li><tt><a href=\"#/api/Ext.form.action.Action-property-result\" rel=\"Ext.form.action.Action-property-result\" class=\"docClass\">result</a></tt> : interrogate for custom postprocessing</li>\n<li><tt><a href=\"#/api/Ext.form.action.Action-property-type\" rel=\"Ext.form.action.Action-property-type\" class=\"docClass\">type</a></tt></li>\n</ul></div></li></ul></div></li>\n\n<li><b>failure</b> : Function<div class=\"sub-desc\">The callback that will be invoked after a\nfailed transaction attempt. The function is passed the following parameters:<ul>\n<li><tt>form</tt> : The <a href=\"#/api/Ext.form.Basic\" rel=\"Ext.form.Basic\" class=\"docClass\">Ext.form.Basic</a> that requested the action.</li>\n<li><tt>action</tt> : The <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Action</a> object which performed the operation.\n<div class=\"sub-desc\">The action object contains these properties of interest:<ul>\n<li><tt><a href=\"#/api/Ext.form.action.Action-property-failureType\" rel=\"Ext.form.action.Action-property-failureType\" class=\"docClass\">failureType</a></tt></li>\n<li><tt><a href=\"#/api/Ext.form.action.Action-property-response\" rel=\"Ext.form.action.Action-property-response\" class=\"docClass\">response</a></tt></li>\n<li><tt><a href=\"#/api/Ext.form.action.Action-property-result\" rel=\"Ext.form.action.Action-property-result\" class=\"docClass\">result</a></tt> : interrogate for custom postprocessing</li>\n<li><tt><a href=\"#/api/Ext.form.action.Action-property-type\" rel=\"Ext.form.action.Action-property-type\" class=\"docClass\">type</a></tt></li>\n</ul></div></li></ul></div></li>\n\n<li><b>scope</b> : Object<div class=\"sub-desc\">The scope in which to call the\ncallback functions (The <tt>this</tt> reference for the callback functions).</div></li>\n\n<li><b>clientValidation</b> : Boolean<div class=\"sub-desc\">Submit Action only.\nDetermines whether a Form's fields are validated in a final call to\n<a href=\"#/api/Ext.form.Basic-method-isValid\" rel=\"Ext.form.Basic-method-isValid\" class=\"docClass\">isValid</a> prior to submission. Set to <tt>false</tt>\nto prevent this. If undefined, pre-submission field validation is performed.</div></li></ul>\n\n",
579 "type": "Ext.form.Basic",
580 "doc": "<p>this</p>\n"
584 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
586 "html_filename": "Basic.html",
587 "href": "Basic.html#Ext-form-Basic-method-doAction",
588 "shortDoc": "<p>Performs a predefined action (an implementation of <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Ext.form.action.Action</a>)\nto perform application-specific processing.</p>\n"
592 "name": "enableBubble",
593 "member": "Ext.util.Observable",
594 "doc": "<p>Enables events fired by this Observable to bubble up an owner hierarchy by calling\n<code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>\n\n\n<p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>. The default\nimplementation in <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to\naccess the required target more quickly.</p>\n\n\n<p>Example:</p>\n\n\n<pre><code>Ext.override(Ext.form.field.Base, {\n// Add functionality to Field's initComponent to enable the change event to bubble\ninitComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n this.enableBubble('change');\n}),\n\n// We know that we want Field's events to bubble directly to the FormPanel.\ngetBubbleTarget : function() {\n if (!this.formPanel) {\n this.formPanel = this.findParentByType('form');\n }\n return this.formPanel;\n}\n});\n\nvar myForm = new Ext.formPanel({\ntitle: 'User Details',\nitems: [{\n ...\n}],\nlisteners: {\n change: function() {\n // Title goes red if form has been modified.\n myForm.header.setStyle('color', 'red');\n }\n}\n});\n</code></pre>\n\n",
597 "type": "String/Array",
599 "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
609 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
611 "html_filename": "Observable.html",
612 "href": "Observable.html#Ext-util-Observable-method-enableBubble",
613 "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present...."
618 "member": "Ext.form.Basic",
619 "doc": "<p>Find a specific <a href=\"#/api/Ext.form.field.Field\" rel=\"Ext.form.field.Field\" class=\"docClass\">Ext.form.field.Field</a> in this form by id or name.</p>\n",
624 "doc": "<p>The value to search for (specify either a <a href=\"#/api/Ext.Component-cfg-id\" rel=\"Ext.Component-cfg-id\" class=\"docClass\">id</a> or\n<a href=\"#/api/Ext.form.field.Field-method-getName\" rel=\"Ext.form.field.Field-method-getName\" class=\"docClass\">name or hiddenName</a>).</p>\n",
630 "doc": "<p>Ext.form.field.Field The first matching field, or <tt>null</tt> if none was found.</p>\n"
634 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
636 "html_filename": "Basic.html",
637 "href": "Basic.html#Ext-form-Basic-method-findField",
638 "shortDoc": "<p>Find a specific <a href=\"#/api/Ext.form.field.Field\" rel=\"Ext.form.field.Field\" class=\"docClass\">Ext.form.field.Field</a> in this form by id or name.</p>\n"
643 "member": "Ext.util.Observable",
644 "doc": "<p>Fires the specified event with the passed parameters (minus the event name).</p>\n\n\n<p>An event may be set to bubble up an Observable parent hierarchy (See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>)\nby calling <a href=\"#/api/Ext.form.Basic-method-enableBubble\" rel=\"Ext.form.Basic-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n\n",
649 "doc": "<p>The name of the event to fire.</p>\n",
655 "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
661 "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
665 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
667 "html_filename": "Observable.html",
668 "href": "Observable.html#Ext-util-Observable-method-fireEvent",
669 "shortDoc": "Fires the specified event with the passed parameters (minus the event name).\n\n\nAn event may be set to bubble up an Ob..."
673 "name": "getFieldValues",
674 "member": "Ext.form.Basic",
675 "doc": "<p>Retrieves the fields in the form as a set of key/value pairs, using their\n<a href=\"#/api/Ext.form.field.Field-method-getModelData\" rel=\"Ext.form.field.Field-method-getModelData\" class=\"docClass\">getModelData()</a> method to collect the values.\nIf multiple fields return values under the same name those values will be combined into an Array.\nThis is similar to <a href=\"#/api/Ext.form.Basic-method-getValues\" rel=\"Ext.form.Basic-method-getValues\" class=\"docClass\">getValues</a> except that this method collects type-specific data values\n(e.g. Date objects for date fields) while getValues returns only String values for submission.</p>\n",
680 "doc": "<p>(optional) If true, only fields that are dirty will be included in the result.\nDefaults to false.</p>\n",
690 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
692 "html_filename": "Basic.html",
693 "href": "Basic.html#Ext-form-Basic-method-getFieldValues",
694 "shortDoc": "Retrieves the fields in the form as a set of key/value pairs, using their\ngetModelData() method to collect the values..."
699 "member": "Ext.form.Basic",
700 "doc": "<p>Return all the <a href=\"#/api/Ext.form.field.Field\" rel=\"Ext.form.field.Field\" class=\"docClass\">Ext.form.field.Field</a> components in the owner container.</p>\n",
705 "type": "Ext.util.MixedCollection",
706 "doc": "<p>Collection of the Field objects</p>\n"
710 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
712 "html_filename": "Basic.html",
713 "href": "Basic.html#Ext-form-Basic-method-getFields",
714 "shortDoc": "<p>Return all the <a href=\"#/api/Ext.form.field.Field\" rel=\"Ext.form.field.Field\" class=\"docClass\">Ext.form.field.Field</a> components in the owner container.</p>\n"
719 "member": "Ext.form.Basic",
720 "doc": "<p>Returns the last <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Ext.data.Model</a> instance that was loaded via <a href=\"#/api/Ext.form.Basic-method-loadRecord\" rel=\"Ext.form.Basic-method-loadRecord\" class=\"docClass\">loadRecord</a></p>\n",
725 "type": "Ext.data.Model",
726 "doc": "<p>The record</p>\n"
730 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
732 "html_filename": "Basic.html",
733 "href": "Basic.html#Ext-form-Basic-method-getRecord",
734 "shortDoc": "<p>Returns the last <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Ext.data.Model</a> instance that was loaded via <a href=\"#/api/Ext.form.Basic-method-loadRecord\" rel=\"Ext.form.Basic-method-loadRecord\" class=\"docClass\">loadRecord</a></p>\n"
739 "member": "Ext.form.Basic",
740 "doc": "<p>Retrieves the fields in the form as a set of key/value pairs, using their\n<a href=\"#/api/Ext.form.field.Field-method-getSubmitData\" rel=\"Ext.form.field.Field-method-getSubmitData\" class=\"docClass\">getSubmitData()</a> method to collect the values.\nIf multiple fields return values under the same name those values will be combined into an Array.\nThis is similar to <a href=\"#/api/Ext.form.Basic-method-getFieldValues\" rel=\"Ext.form.Basic-method-getFieldValues\" class=\"docClass\">getFieldValues</a> except that this method collects only String values for\nsubmission, while getFieldValues collects type-specific data values (e.g. Date objects for date fields.)</p>\n",
745 "doc": "<p>(optional) If true, will return the key/value collection as a single\nURL-encoded param string. Defaults to false.</p>\n",
751 "doc": "<p>(optional) If true, only fields that are dirty will be included in the result.\nDefaults to false.</p>\n",
756 "name": "includeEmptyText",
757 "doc": "<p>(optional) If true, the configured emptyText of empty fields will be used.\nDefaults to false.</p>\n",
762 "name": "useDataValues",
768 "type": "String/Object",
773 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
775 "html_filename": "Basic.html",
776 "href": "Basic.html#Ext-form-Basic-method-getValues",
777 "shortDoc": "Retrieves the fields in the form as a set of key/value pairs, using their\ngetSubmitData() method to collect the value..."
781 "name": "hasInvalidField",
782 "member": "Ext.form.Basic",
783 "doc": "<p>Returns true if the form contains any invalid fields. No fields will be marked as invalid\nas a result of calling this; to trigger marking of fields use <a href=\"#/api/Ext.form.Basic-method-isValid\" rel=\"Ext.form.Basic-method-isValid\" class=\"docClass\">isValid</a> instead.</p>\n",
793 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
795 "html_filename": "Basic.html",
796 "href": "Basic.html#Ext-form-Basic-method-hasInvalidField",
797 "shortDoc": "Returns true if the form contains any invalid fields. No fields will be marked as invalid\nas a result of calling this..."
801 "name": "hasListener",
802 "member": "Ext.util.Observable",
803 "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
808 "doc": "<p>The name of the event to check for</p>\n",
814 "doc": "<p>True if the event is being listened for, else false</p>\n"
818 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
820 "html_filename": "Observable.html",
821 "href": "Observable.html#Ext-util-Observable-method-hasListener",
822 "shortDoc": "<p>Checks to see if this object has any listeners for a specified event</p>\n"
827 "member": "Ext.form.Basic",
828 "doc": "<p>Returns true if the form contains a file upload field. This is used to determine the\nmethod for submitting the form: File uploads are not performed using normal 'Ajax' techniques,\nthat is they are <b>not</b> performed using XMLHttpRequests. Instead a hidden <tt><form></tt>\nelement containing all the fields is created temporarily and submitted with its\n<a href=\"http://www.w3.org/TR/REC-html40/present/frames.html#adef-target\">target</a> set to refer\nto a dynamically generated, hidden <tt><iframe></tt> which is inserted into the document\nbut removed after the return data has been gathered.</p>\n\n\n<p>The server response is parsed by the browser to create the document for the IFRAME. If the\nserver is using JSON to send the return object, then the\n<a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17\">Content-Type</a> header\nmust be set to \"text/html\" in order to tell the browser to insert the text unchanged into the document body.</p>\n\n\n<p>Characters which are significant to an HTML parser must be sent as HTML entities, so encode\n\"<\" as \"&lt;\", \"&\" as \"&amp;\" etc.</p>\n\n\n<p>The response text is retrieved from the document, and a fake XMLHttpRequest object\nis created containing a <tt>responseText</tt> property in order to conform to the\nrequirements of event handlers and callbacks.</p>\n\n\n<p>Be aware that file upload packets are sent with the content type <a href=\"http://www.faqs.org/rfcs/rfc2388.html\">multipart/form</a>\nand some server technologies (notably JEE) may require some custom processing in order to\nretrieve parameter names and parameter values from the packet content.</p>\n\n",
834 "doc": "<p>Boolean</p>\n"
838 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
840 "html_filename": "Basic.html",
841 "href": "Basic.html#Ext-form-Basic-method-hasUpload",
842 "shortDoc": "Returns true if the form contains a file upload field. This is used to determine the\nmethod for submitting the form: ..."
847 "member": "Ext.form.Basic",
848 "doc": "<p>Returns true if any fields in this form have changed from their original values.</p>\n\n\n<p>Note that if this BasicForm was configured with <a href=\"#/api/Ext.form.Basic-cfg-trackResetOnLoad\" rel=\"Ext.form.Basic-cfg-trackResetOnLoad\" class=\"docClass\">trackResetOnLoad</a> then the\nFields' <em>original values</em> are updated when the values are loaded by <a href=\"#/api/Ext.form.Basic-method-setValues\" rel=\"Ext.form.Basic-method-setValues\" class=\"docClass\">setValues</a>\nor <a href=\"#/api/Ext.form.Basic-method-loadRecord\" rel=\"Ext.form.Basic-method-loadRecord\" class=\"docClass\">loadRecord</a>.</p>\n\n",
854 "doc": "<p>Boolean</p>\n"
858 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
860 "html_filename": "Basic.html",
861 "href": "Basic.html#Ext-form-Basic-method-isDirty",
862 "shortDoc": "Returns true if any fields in this form have changed from their original values.\n\n\nNote that if this BasicForm was co..."
867 "member": "Ext.form.Basic",
868 "doc": "<p>Returns true if client-side validation on the form is successful. Any invalid fields will be\nmarked as invalid. If you only want to determine overall form validity without marking anything,\nuse <a href=\"#/api/Ext.form.Basic-method-hasInvalidField\" rel=\"Ext.form.Basic-method-hasInvalidField\" class=\"docClass\">hasInvalidField</a> instead.</p>\n",
874 "doc": "<p>Boolean</p>\n"
878 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
880 "html_filename": "Basic.html",
881 "href": "Basic.html#Ext-form-Basic-method-isValid",
882 "shortDoc": "Returns true if client-side validation on the form is successful. Any invalid fields will be\nmarked as invalid. If yo..."
887 "member": "Ext.form.Basic",
888 "doc": "<p>Shortcut to <a href=\"#/api/Ext.form.Basic-method-doAction\" rel=\"Ext.form.Basic-method-doAction\" class=\"docClass\">do</a> a <a href=\"#/api/Ext.form.action.Load\" rel=\"Ext.form.action.Load\" class=\"docClass\">load action</a>.</p>\n",
893 "doc": "<p>The options to pass to the action (see <a href=\"#/api/Ext.form.Basic-method-doAction\" rel=\"Ext.form.Basic-method-doAction\" class=\"docClass\">doAction</a> for details)</p>\n",
898 "type": "Ext.form.Basic",
899 "doc": "<p>this</p>\n"
903 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
905 "html_filename": "Basic.html",
906 "href": "Basic.html#Ext-form-Basic-method-load",
907 "shortDoc": "<p>Shortcut to <a href=\"#/api/Ext.form.Basic-method-doAction\" rel=\"Ext.form.Basic-method-doAction\" class=\"docClass\">do</a> a <a href=\"#/api/Ext.form.action.Load\" rel=\"Ext.form.action.Load\" class=\"docClass\">load action</a>.</p>\n"
911 "name": "loadRecord",
912 "member": "Ext.form.Basic",
913 "doc": "<p>Loads an <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Ext.data.Model</a> into this form by calling <a href=\"#/api/Ext.form.Basic-method-setValues\" rel=\"Ext.form.Basic-method-setValues\" class=\"docClass\">setValues</a> with the\n<a href=\"#/api/Ext.data.Model--data\" rel=\"Ext.data.Model--data\" class=\"docClass\">record data</a>.\nSee also <a href=\"#/api/Ext.form.Basic-cfg-trackResetOnLoad\" rel=\"Ext.form.Basic-cfg-trackResetOnLoad\" class=\"docClass\">trackResetOnLoad</a>.</p>\n",
916 "type": "Ext.data.Model",
918 "doc": "<p>The record to load</p>\n",
923 "type": "Ext.form.Basic",
924 "doc": "<p>this</p>\n"
928 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
930 "html_filename": "Basic.html",
931 "href": "Basic.html#Ext-form-Basic-method-loadRecord",
932 "shortDoc": "<p>Loads an <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Ext.data.Model</a> into this form by calling <a href=\"#/api/Ext.form.Basic-method-setValues\" rel=\"Ext.form.Basic-method-setValues\" class=\"docClass\">setValues</a> with the\n<a href=\"#/api/Ext.data.Model--data\" rel=\"Ext.data.Model--data\" class=\"docClass\">record data</a>.\nSee also <a href=\"#/api/Ext.form.Basic-cfg-trackResetOnLoad\" rel=\"Ext.form.Basic-cfg-trackResetOnLoad\" class=\"docClass\">trackResetOnLoad</a>.</p>\n"
936 "name": "markInvalid",
937 "member": "Ext.form.Basic",
938 "doc": "<p>Mark fields in this form invalid in bulk.</p>\n",
941 "type": "Array/Object",
943 "doc": "<p>Either an array in the form <code>[{id:'fieldId', msg:'The message'}, ...]</code>,\nan object hash of <code>{id: msg, id2: msg2}</code>, or a <a href=\"#/api/Ext.data.Errors\" rel=\"Ext.data.Errors\" class=\"docClass\">Ext.data.Errors</a> object.</p>\n",
948 "type": "Ext.form.Basic",
949 "doc": "<p>this</p>\n"
953 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
955 "html_filename": "Basic.html",
956 "href": "Basic.html#Ext-form-Basic-method-markInvalid",
957 "shortDoc": "<p>Mark fields in this form invalid in bulk.</p>\n"
962 "member": "Ext.util.Observable",
963 "doc": "<p>Sets observability on the passed class constructor.</p>\n\n<p>This makes any event fired on any instance of the passed class also fire a single event through\nthe <strong>class</strong> allowing for central handling of events on many instances at once.</p>\n\n<p>Usage:</p>\n\n<pre><code>Ext.util.Observable.observe(Ext.data.Connection);\nExt.data.Connection.on('beforerequest', function(con, options) {\n console.log('Ajax request made to ' + options.url);\n});\n</code></pre>\n",
968 "doc": "<p>The class constructor to make observable.</p>\n",
974 "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.form.Basic-method-addListener\" rel=\"Ext.form.Basic-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
984 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
986 "html_filename": "Observable.html",
987 "href": "Observable.html#Ext-util-Observable-method-observe",
988 "shortDoc": "Sets observability on the passed class constructor.\n\nThis makes any event fired on any instance of the passed class a..."
993 "member": "Ext.util.Observable",
994 "doc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.form.Basic-method-addListener\" rel=\"Ext.form.Basic-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n",
999 "doc": "<p>The type of event to listen for</p>\n",
1005 "doc": "<p>The method the event invokes</p>\n",
1011 "doc": "<p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></p>\n",
1017 "doc": "<p>(optional) An object containing handler configuration.</p>\n",
1027 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1029 "html_filename": "Observable.html",
1030 "href": "Observable.html#Ext-util-Observable-method-on",
1031 "shortDoc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.form.Basic-method-addListener\" rel=\"Ext.form.Basic-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n"
1034 "tagname": "method",
1035 "name": "relayEvents",
1036 "member": "Ext.util.Observable",
1037 "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n",
1042 "doc": "<p>The Observable whose events this object is to relay.</p>\n",
1048 "doc": "<p>Array of event names to relay.</p>\n",
1064 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1066 "html_filename": "Observable.html",
1067 "href": "Observable.html#Ext-util-Observable-method-relayEvents",
1068 "shortDoc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n"
1071 "tagname": "method",
1072 "name": "releaseCapture",
1073 "member": "Ext.util.Observable",
1074 "doc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n",
1077 "type": "Observable",
1079 "doc": "<p>The Observable to release</p>\n",
1089 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1091 "html_filename": "Observable.html",
1092 "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
1093 "shortDoc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n"
1096 "tagname": "method",
1097 "name": "removeListener",
1098 "member": "Ext.util.Observable",
1099 "doc": "<p>Removes an event handler.</p>\n",
1103 "name": "eventName",
1104 "doc": "<p>The type of event the handler was associated with.</p>\n",
1110 "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.form.Basic-method-addListener\" rel=\"Ext.form.Basic-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
1116 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1126 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1128 "html_filename": "Observable.html",
1129 "href": "Observable.html#Ext-util-Observable-method-removeListener",
1130 "shortDoc": "<p>Removes an event handler.</p>\n"
1133 "tagname": "method",
1134 "name": "removeManagedListener",
1135 "member": "Ext.util.Observable",
1136 "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.form.Basic--mon\" rel=\"Ext.form.Basic--mon\" class=\"docClass\">mon</a> method.</p>\n",
1139 "type": "Observable|Element",
1141 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
1145 "type": "Object|String",
1147 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
1153 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
1159 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the scope (<code>this</code> reference) in which the handler function is executed.</p>\n",
1169 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1171 "html_filename": "Observable.html",
1172 "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
1173 "shortDoc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.form.Basic--mon\" rel=\"Ext.form.Basic--mon\" class=\"docClass\">mon</a> method.</p>\n"
1176 "tagname": "method",
1178 "member": "Ext.form.Basic",
1179 "doc": "<p>Resets all fields in this form.</p>\n",
1184 "type": "Ext.form.Basic",
1185 "doc": "<p>this</p>\n"
1189 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1191 "html_filename": "Basic.html",
1192 "href": "Basic.html#Ext-form-Basic-method-reset",
1193 "shortDoc": "<p>Resets all fields in this form.</p>\n"
1196 "tagname": "method",
1197 "name": "resumeEvents",
1198 "member": "Ext.util.Observable",
1199 "doc": "<p>Resume firing events. (see <a href=\"#/api/Ext.form.Basic-method-suspendEvents\" rel=\"Ext.form.Basic-method-suspendEvents\" class=\"docClass\">suspendEvents</a>)\nIf events were suspended using the <code><b>queueSuspended</b></code> parameter, then all\nevents fired during event suspension will be sent to any listeners now.</p>\n",
1209 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1211 "html_filename": "Observable.html",
1212 "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
1213 "shortDoc": "Resume firing events. (see suspendEvents)\nIf events were suspended using the queueSuspended parameter, then all\nevent..."
1216 "tagname": "method",
1217 "name": "setValues",
1218 "member": "Ext.form.Basic",
1219 "doc": "<p>Set values for fields in this form in bulk.</p>\n",
1222 "type": "Array/Object",
1224 "doc": "<p>Either an array in the form:</p>\n\n<pre><code>[{id:'clientName', value:'Fred. Olsen Lines'},\n {id:'portOfLoading', value:'FXT'},\n {id:'portOfDischarge', value:'OSL'} ]</code></pre>\n\n\n<p>or an object hash of the form:</p>\n\n<pre><code>{\n clientName: 'Fred. Olsen Lines',\n portOfLoading: 'FXT',\n portOfDischarge: 'OSL'\n}</code></pre>\n\n",
1229 "type": "Ext.form.Basic",
1230 "doc": "<p>this</p>\n"
1234 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1236 "html_filename": "Basic.html",
1237 "href": "Basic.html#Ext-form-Basic-method-setValues",
1238 "shortDoc": "<p>Set values for fields in this form in bulk.</p>\n"
1241 "tagname": "method",
1243 "member": "Ext.form.Basic",
1244 "doc": "<p>Shortcut to <a href=\"#/api/Ext.form.Basic-method-doAction\" rel=\"Ext.form.Basic-method-doAction\" class=\"docClass\">do</a> a <a href=\"#/api/Ext.form.action.Submit\" rel=\"Ext.form.action.Submit\" class=\"docClass\">submit action</a>. This will use the\n<a href=\"#/api/Ext.form.action.Submit\" rel=\"Ext.form.action.Submit\" class=\"docClass\">AJAX submit action</a> by default. If the <a href=\"#/api/Ext.form.Basic--standardsubmit\" rel=\"Ext.form.Basic--standardsubmit\" class=\"docClass\">standardsubmit</a> config is\nenabled it will use a standard form element to submit, or if the <a href=\"#/api/Ext.form.Basic-cfg-api\" rel=\"Ext.form.Basic-cfg-api\" class=\"docClass\">api</a> config is present it will\nuse the <a href=\"#/api/Ext.form.action.DirectLoad\" rel=\"Ext.form.action.DirectLoad\" class=\"docClass\">Ext.direct.Direct submit action</a>.</p>\n",
1249 "doc": "<p>The options to pass to the action (see <a href=\"#/api/Ext.form.Basic-method-doAction\" rel=\"Ext.form.Basic-method-doAction\" class=\"docClass\">doAction</a> for details).<br></p>\n\n<p>The following code:</p>\n\n\n<pre><code>myFormPanel.getForm().submit({\n clientValidation: true,\n url: 'updateConsignment.php',\n params: {\n newStatus: 'delivered'\n },\n success: function(form, action) {\n Ext.Msg.alert('Success', action.result.msg);\n },\n failure: function(form, action) {\n switch (action.failureType) {\n case Ext.form.action.Action.CLIENT_INVALID:\n Ext.Msg.alert('Failure', 'Form fields may not be submitted with invalid values');\n break;\n case Ext.form.action.Action.CONNECT_FAILURE:\n Ext.Msg.alert('Failure', 'Ajax communication failed');\n break;\n case Ext.form.action.Action.SERVER_INVALID:\n Ext.Msg.alert('Failure', action.result.msg);\n }\n }\n});\n</code></pre>\n\n\n<p>would process the following server response for a successful submission:</p>\n\n<pre><code>{\n \"success\":true, // note this is Boolean, not string\n \"msg\":\"Consignment updated\"\n}\n</code></pre>\n\n\n<p>and the following server response for a failed submission:</p>\n\n<pre><code>{\n \"success\":false, // note this is Boolean, not string\n \"msg\":\"You do not have permission to perform this operation\"\n}\n</code></pre>\n\n",
1254 "type": "Ext.form.Basic",
1255 "doc": "<p>this</p>\n"
1259 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1261 "html_filename": "Basic.html",
1262 "href": "Basic.html#Ext-form-Basic-method-submit",
1263 "shortDoc": "Shortcut to do a submit action. This will use the\nAJAX submit action by default. If the standardsubmit config is\nenab..."
1266 "tagname": "method",
1267 "name": "suspendEvents",
1268 "member": "Ext.util.Observable",
1269 "doc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.form.Basic-method-resumeEvents\" rel=\"Ext.form.Basic-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
1273 "name": "queueSuspended",
1274 "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.form.Basic-method-resumeEvents\" rel=\"Ext.form.Basic-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events;</p>\n",
1284 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1286 "html_filename": "Observable.html",
1287 "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
1288 "shortDoc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.form.Basic-method-resumeEvents\" rel=\"Ext.form.Basic-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n"
1291 "tagname": "method",
1293 "member": "Ext.util.Observable",
1294 "doc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.form.Basic-method-removeListener\" rel=\"Ext.form.Basic-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n",
1298 "name": "eventName",
1299 "doc": "<p>The type of event the handler was associated with.</p>\n",
1305 "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.form.Basic-method-addListener\" rel=\"Ext.form.Basic-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
1311 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1321 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1323 "html_filename": "Observable.html",
1324 "href": "Observable.html#Ext-util-Observable-method-un",
1325 "shortDoc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.form.Basic-method-removeListener\" rel=\"Ext.form.Basic-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n"
1328 "tagname": "method",
1329 "name": "updateRecord",
1330 "member": "Ext.form.Basic",
1331 "doc": "<p>Persists the values in this form into the passed <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Ext.data.Model</a> object in a beginEdit/endEdit block.</p>\n",
1334 "type": "Ext.data.Record",
1336 "doc": "<p>The record to edit</p>\n",
1341 "type": "Ext.form.Basic",
1342 "doc": "<p>this</p>\n"
1346 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1348 "html_filename": "Basic.html",
1349 "href": "Basic.html#Ext-form-Basic-method-updateRecord",
1350 "shortDoc": "<p>Persists the values in this form into the passed <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Ext.data.Model</a> object in a beginEdit/endEdit block.</p>\n"
1355 "tagname": "property",
1357 "member": "Ext.form.Basic",
1358 "type": "Ext.container.Container",
1359 "doc": "<p>The container component to which this BasicForm is attached.</p>\n",
1362 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1364 "html_filename": "Basic.html",
1365 "href": "Basic.html#Ext-form-Basic-property-owner"
1371 "name": "actioncomplete",
1372 "member": "Ext.form.Basic",
1373 "doc": "<p>Fires when an action is completed.</p>\n",
1376 "type": "Ext.form.Basic",
1382 "type": "Ext.form.action.Action",
1384 "doc": "<p>The <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Ext.form.action.Action</a> that completed</p>\n",
1389 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1391 "html_filename": "Basic.html",
1392 "href": "Basic.html#Ext-form-Basic-event-actioncomplete",
1393 "shortDoc": "<p>Fires when an action is completed.</p>\n"
1397 "name": "actionfailed",
1398 "member": "Ext.form.Basic",
1399 "doc": "<p>Fires when an action fails.</p>\n",
1402 "type": "Ext.form.Basic",
1408 "type": "Ext.form.action.Action",
1410 "doc": "<p>The <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Ext.form.action.Action</a> that failed</p>\n",
1415 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1417 "html_filename": "Basic.html",
1418 "href": "Basic.html#Ext-form-Basic-event-actionfailed",
1419 "shortDoc": "<p>Fires when an action fails.</p>\n"
1423 "name": "beforeaction",
1424 "member": "Ext.form.Basic",
1425 "doc": "<p>Fires before any action is performed. Return false to cancel the action.</p>\n",
1428 "type": "Ext.form.Basic",
1434 "type": "Ext.form.action.Action",
1436 "doc": "<p>The <a href=\"#/api/Ext.form.action.Action\" rel=\"Ext.form.action.Action\" class=\"docClass\">Ext.form.action.Action</a> to be performed</p>\n",
1441 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1443 "html_filename": "Basic.html",
1444 "href": "Basic.html#Ext-form-Basic-event-beforeaction",
1445 "shortDoc": "<p>Fires before any action is performed. Return false to cancel the action.</p>\n"
1449 "name": "dirtychange",
1450 "member": "Ext.form.Basic",
1451 "doc": "<p>Fires when the dirty state of the entire form changes.</p>\n",
1454 "type": "Ext.form.Basic",
1462 "doc": "<p><tt>true</tt> if the form is now dirty, <tt>false</tt> if it is no longer dirty.</p>\n",
1467 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1469 "html_filename": "Basic.html",
1470 "href": "Basic.html#Ext-form-Basic-event-dirtychange",
1471 "shortDoc": "<p>Fires when the dirty state of the entire form changes.</p>\n"
1475 "name": "validitychange",
1476 "member": "Ext.form.Basic",
1477 "doc": "<p>Fires when the validity of the entire form changes.</p>\n",
1480 "type": "Ext.form.Basic",
1488 "doc": "<p><tt>true</tt> if the form is now valid, <tt>false</tt> if it is now invalid.</p>\n",
1493 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1495 "html_filename": "Basic.html",
1496 "href": "Basic.html#Ext-form-Basic-event-validitychange",
1497 "shortDoc": "<p>Fires when the validity of the entire form changes.</p>\n"
1500 "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Basic.js",
1502 "html_filename": "Basic.html",
1503 "href": "Basic.html#Ext-form-Basic",
1512 "Ext.util.Observable"