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.3.1
11 * Copyright(c) 2006-2010 Sencha Inc.
12 * licensing@sencha.com
13 * http://www.sencha.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, {
31 onRender : function(){
32 Ext.form.Hidden.superclass.onRender.apply(this, arguments);
36 initEvents : function(){
37 this.originalValue = this.getValue();
40 // These are all private overrides
41 setSize : Ext.emptyFn,
42 setWidth : Ext.emptyFn,
43 setHeight : Ext.emptyFn,
44 setPosition : Ext.emptyFn,
45 setPagePosition : Ext.emptyFn,
46 markInvalid : Ext.emptyFn,
47 clearInvalid : Ext.emptyFn
49 Ext.reg('hidden', Ext.form.Hidden);</pre>