3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>The source code</title>
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
8 <body onload="prettyPrint();">
9 <pre class="prettyprint lang-js">/*!
10 * Ext JS Library 3.2.2
11 * Copyright(c) 2006-2010 Ext JS, Inc.
13 * http://www.extjs.com/license
15 <div id="cls-Ext.form.Hidden"></div>/**
16 * @class Ext.form.Hidden
17 * @extends Ext.form.Field
18 * A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
20 * Create a new Hidden field.
21 * @param {Object} config Configuration options
24 Ext.form.Hidden = Ext.extend(Ext.form.Field, {
29 onRender : function(){
30 Ext.form.Hidden.superclass.onRender.apply(this, arguments);
34 initEvents : function(){
35 this.originalValue = this.getValue();
38 // These are all private overrides
39 setSize : Ext.emptyFn,
40 setWidth : Ext.emptyFn,
41 setHeight : Ext.emptyFn,
42 setPosition : Ext.emptyFn,
43 setPagePosition : Ext.emptyFn,
44 markInvalid : Ext.emptyFn,
45 clearInvalid : Ext.emptyFn
47 Ext.reg('hidden', Ext.form.Hidden);</pre>