<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
- <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
</script>
</head>
<body onload="prettyPrint(); highlight();">
- <pre class="prettyprint lang-js"><span id='Ext-form-action-Action-method-constructor'><span id='Ext-form-action-Action'>/**
-</span></span> * @class Ext.form.action.Action
+ <pre class="prettyprint lang-js"><span id='Ext-form-action-Action'>/**
+</span> * @class Ext.form.action.Action
* @extends Ext.Base
* <p>The subclasses of this class provide actions to perform upon {@link Ext.form.Basic Form}s.</p>
* <p>Instances of this class are only created by a {@link Ext.form.Basic Form} when
* {@link Ext.form.Basic#load load} and {@link Ext.form.Basic#doAction doAction}),
* and to the {@link Ext.form.Basic#actioncomplete actioncomplete} and
* {@link Ext.form.Basic#actionfailed actionfailed} event handlers.</p>
- * @constructor
- * @param {Object} config The configuration for this instance.
*/
Ext.define('Ext.form.action.Action', {
alternateClassName: 'Ext.form.Action',
<span id='Ext-form-action-Action-cfg-headers'> /**
</span> * @cfg {Object} headers <p>Extra headers to be sent in the AJAX request for submit and load actions. See
- * {@link Ext.data.Connection#headers}.</p>
+ * {@link Ext.data.proxy.Ajax#headers}.</p>
*/
<span id='Ext-form-action-Action-cfg-timeout'> /**
</span> * @cfg {Boolean} submitEmptyText If set to <tt>true</tt>, the emptyText value will be sent with the form
* when it is submitted. Defaults to <tt>true</tt>.
*/
-
+ submitEmptyText : true,
<span id='Ext-form-action-Action-property-type'> /**
</span> * @property type
* The type of action this Action instance performs.
* @type {Object}
*/
-
-
+<span id='Ext-form-action-Action-method-constructor'> /**
+</span> * Creates new Action.
+ * @param {Object} config (optional) Config object.
+ */
constructor: function(config) {
if (config) {
Ext.apply(this, config);
},
statics: {
-<span id='Ext-form-action-Action-property-CLIENT_INVALID'> /**
+<span id='Ext-form-action-Action-static-property-CLIENT_INVALID'> /**
</span> * @property CLIENT_INVALID
* Failure type returned when client side validation of the Form fails
* thus aborting a submit action. Client side validation is performed unless
*/
CLIENT_INVALID: 'client',
-<span id='Ext-form-action-Action-property-SERVER_INVALID'> /**
+<span id='Ext-form-action-Action-static-property-SERVER_INVALID'> /**
</span> * @property SERVER_INVALID
* <p>Failure type returned when server side processing fails and the {@link #result}'s
* <tt>success</tt> property is set to <tt>false</tt>.</p>
*/
SERVER_INVALID: 'server',
-<span id='Ext-form-action-Action-property-CONNECT_FAILURE'> /**
+<span id='Ext-form-action-Action-static-property-CONNECT_FAILURE'> /**
</span> * @property CONNECT_FAILURE
* Failure type returned when a communication error happens when attempting
* to send a request to the remote server. The {@link #response} may be examined to
*/
CONNECT_FAILURE: 'connect',
-<span id='Ext-form-action-Action-property-LOAD_FAILURE'> /**
+<span id='Ext-form-action-Action-static-property-LOAD_FAILURE'> /**
</span> * @property LOAD_FAILURE
* Failure type returned when the response's <tt>success</tt>
* property is set to <tt>false</tt>, or no field values are returned in the response's