Ext.define('FastUI.view.vfield.VTreeText',{ extend: 'Ext.form.field.Text', valueObject: {}, winCtx:{}, winId:0, rest:{}, initComponent:function(){ this.fieldLabel = this.getFValue('title'); this.name = this.rest.getTableName() + '[' + this.getFValue('name') + ']'; this.disabled = this.getFValue('readonly') || false; this.allowBlank = this.getFValue('required') || true; this.width = this.getFValue('width') || 650; this.vtype = this.getFValue('vtype'); this.callParent(); }, getFValue:function (key) { return this.valueObject[key]; } });