Ext.override(Ext.form.Field, {
    afterRender : function() {  
        var label = undefined;
        var div = undefined;
        
        if( this.tooltipText || this.tooltip ){
            
            if (div = this.getEl().up('div.x-form-item'))
                if( label = div.child('label') ) {
                    label.addClass(this.tooltipClass || 'x-field-tooltip');
                    if(this.tooltip){//apply tooltip configuration
                        this.tooltip.tile = this.tooltipTitle || this.tooltip.tile || '';
                        this.tooltip.html = this.tooltipText || this.tooltip.tile || '';
                        new Ext.ToolTip(this.tooltip)
                    }else{//apply default configuration
                        new Ext.ToolTip({
                            target:  label                   
                            ,html: this.tooltipText
                            ,title: this.tooltipTitle || ' '
                            ,autoHide: true
                            ,dismissDelay : 0
                            ,trackMouse: true
                            ,closable: true
                        });
                    }
                }
        }
        Ext.form.Field.superclass.afterRender.call(this);    
        this.initEvents();
        this.initValue();
    }
}); 