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