~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to gis/dhis-gis-geostat/mfbase/ext/source/widgets/form/Hidden.js

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Ext JS Library 2.2
 
3
 * Copyright(c) 2006-2008, Ext JS, LLC.
 
4
 * licensing@extjs.com
 
5
 * 
 
6
 * http://extjs.com/license
 
7
 */
 
8
 
 
9
/**
 
10
 * @class Ext.form.Hidden
 
11
 * @extends Ext.form.Field
 
12
 * A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
 
13
 * @constructor
 
14
 * Create a new Hidden field.
 
15
 * @param {Object} config Configuration options
 
16
 */
 
17
Ext.form.Hidden = Ext.extend(Ext.form.Field, {
 
18
    // private
 
19
    inputType : 'hidden',
 
20
 
 
21
    // private
 
22
    onRender : function(){
 
23
        Ext.form.Hidden.superclass.onRender.apply(this, arguments);
 
24
    },
 
25
 
 
26
    // private
 
27
    initEvents : function(){
 
28
        this.originalValue = this.getValue();
 
29
    },
 
30
 
 
31
    // These are all private overrides
 
32
    setSize : Ext.emptyFn,
 
33
    setWidth : Ext.emptyFn,
 
34
    setHeight : Ext.emptyFn,
 
35
    setPosition : Ext.emptyFn,
 
36
    setPagePosition : Ext.emptyFn,
 
37
    markInvalid : Ext.emptyFn,
 
38
    clearInvalid : Ext.emptyFn
 
39
});
 
40
Ext.reg('hidden', Ext.form.Hidden);
 
 
b'\\ No newline at end of file'