3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
4 <title>The source code</title>
\r
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
8 <body onload="prettyPrint();">
\r
9 <pre class="prettyprint lang-js"><div id="cls-Ext.form.Hidden"></div>/**
\r
10 * @class Ext.form.Hidden
\r
11 * @extends Ext.form.Field
\r
12 * A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
\r
14 * Create a new Hidden field.
\r
15 * @param {Object} config Configuration options
\r
18 Ext.form.Hidden = Ext.extend(Ext.form.Field, {
\r
20 inputType : 'hidden',
\r
23 onRender : function(){
\r
24 Ext.form.Hidden.superclass.onRender.apply(this, arguments);
\r
28 initEvents : function(){
\r
29 this.originalValue = this.getValue();
\r
32 // These are all private overrides
\r
33 setSize : Ext.emptyFn,
\r
34 setWidth : Ext.emptyFn,
\r
35 setHeight : Ext.emptyFn,
\r
36 setPosition : Ext.emptyFn,
\r
37 setPagePosition : Ext.emptyFn,
\r
38 markInvalid : Ext.emptyFn,
\r
39 clearInvalid : Ext.emptyFn
\r
41 Ext.reg('hidden', Ext.form.Hidden);</pre>
\r