<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<title>The source code</title>
|
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
|
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
|
</head>
|
<body onload="prettyPrint();">
|
<pre class="prettyprint lang-js"><div id="cls-Ext.form.Hidden"></div>/**
|
* @class Ext.form.Hidden
|
* @extends Ext.form.Field
|
* A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
|
* @constructor
|
* Create a new Hidden field.
|
* @param {Object} config Configuration options
|
* @xtype hidden
|
*/
|
Ext.form.Hidden = Ext.extend(Ext.form.Field, {
|
// private
|
inputType : 'hidden',
|
|
// private
|
onRender : function(){
|
Ext.form.Hidden.superclass.onRender.apply(this, arguments);
|
},
|
|
// private
|
initEvents : function(){
|
this.originalValue = this.getValue();
|
},
|
|
// These are all private overrides
|
setSize : Ext.emptyFn,
|
setWidth : Ext.emptyFn,
|
setHeight : Ext.emptyFn,
|
setPosition : Ext.emptyFn,
|
setPagePosition : Ext.emptyFn,
|
markInvalid : Ext.emptyFn,
|
clearInvalid : Ext.emptyFn
|
});
|
Ext.reg('hidden', Ext.form.Hidden);</pre>
|
</body>
|
</html>
|