source: trunk/web/addons/job_monarch/lib/extjs-30/src/widgets/form/Hidden.js @ 625

Last change on this file since 625 was 625, checked in by ramonb, 15 years ago

lib/extjs-30:

  • new ExtJS 3.0
File size: 1.0 KB
Line 
1/*!
2 * Ext JS Library 3.0.0
3 * Copyright(c) 2006-2009 Ext JS, LLC
4 * licensing@extjs.com
5 * http://www.extjs.com/license
6 */
7/**
8 * @class Ext.form.Hidden
9 * @extends Ext.form.Field
10 * A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
11 * @constructor
12 * Create a new Hidden field.
13 * @param {Object} config Configuration options
14 * @xtype hidden
15 */
16Ext.form.Hidden = Ext.extend(Ext.form.Field, {
17    // private
18    inputType : 'hidden',
19
20    // private
21    onRender : function(){
22        Ext.form.Hidden.superclass.onRender.apply(this, arguments);
23    },
24
25    // private
26    initEvents : function(){
27        this.originalValue = this.getValue();
28    },
29
30    // These are all private overrides
31    setSize : Ext.emptyFn,
32    setWidth : Ext.emptyFn,
33    setHeight : Ext.emptyFn,
34    setPosition : Ext.emptyFn,
35    setPagePosition : Ext.emptyFn,
36    markInvalid : Ext.emptyFn,
37    clearInvalid : Ext.emptyFn
38});
39Ext.reg('hidden', Ext.form.Hidden);
Note: See TracBrowser for help on using the repository browser.