-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-form.action.Submit'>/**
+<!DOCTYPE html>
+<html>
+<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>
+ <style type="text/css">
+ .highlight { display: block; background-color: #ddd; }
+ </style>
+ <script type="text/javascript">
+ function highlight() {
+ document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+ }
+ </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+ <pre class="prettyprint lang-js"><span id='Ext-form-action-Submit'>/**
</span> * @class Ext.form.action.Submit
* @extends Ext.form.action.Action
* <p>A class which handles submission of data from {@link Ext.form.Basic Form}s
type: 'submit',
-<span id='Ext-form.action.Submit-cfg-clientValidation'> /**
+<span id='Ext-form-action-Submit-cfg-clientValidation'> /**
</span> * @cfg {boolean} clientValidation Determines whether a Form's fields are validated
* in a final call to {@link Ext.form.Basic#isValid isValid} prior to submission.
* Pass <tt>false</tt> in the Form's submit options to prevent this. Defaults to true.
}
},
-<span id='Ext-form.action.Submit-method-doSubmit'> /**
+<span id='Ext-form-action-Submit-method-doSubmit'> /**
</span> * @private
* Perform the submit of the form data.
*/
}
},
-<span id='Ext-form.action.Submit-method-getParams'> /**
+<span id='Ext-form-action-Submit-method-getParams'> /**
</span> * @private
* Build the full set of parameters from the field values plus any additional configured params.
*/
return Ext.apply({}, fieldParams, configParams);
},
-<span id='Ext-form.action.Submit-method-buildForm'> /**
+<span id='Ext-form-action-Submit-method-buildForm'> /**
</span> * @private
* Build a form element containing fields corresponding to all the parameters to be
* submitted (everything returned by {@link #getParams}.
tag: 'input',
type: 'hidden',
name: name,
- value: val
+ value: Ext.String.htmlEncode(val)
});
}
-<span id='Ext-form.action.Submit-method-onSuccess'> /**
+<span id='Ext-form-action-Submit-method-onSuccess'> /**
</span> * @private
*/
onSuccess: function(response) {
form.afterAction(this, success);
},
-<span id='Ext-form.action.Submit-method-handleResponse'> /**
+<span id='Ext-form-action-Submit-method-handleResponse'> /**
</span> * @private
*/
handleResponse: function(response) {
return Ext.decode(response.responseText);
}
});
-</pre></pre></body></html>
\ No newline at end of file
+</pre>
+</body>
+</html>