Bill.Fio = Ext.extend(Ext.form.CompositeField, {
    initComponent: function() {
        Ext.apply(this, {
            defaults: {
                //allowBlank: false, 
                flex: 1
            },
            items: [{
                xtype: 'textfield',
                fieldLabel: 'Фамилия', 
                name: 'lastName',
                allowBlank: false    
            },{                
                xtype: 'textfield',
                fieldLabel: 'Имя', 
                name: 'firstName',
                allowBlank: false
            },{
                xtype: 'textfield',
                fieldLabel: 'Отчество', 
                name: 'middleName',
                allowBlank: false
            }]    
        });
        Bill.Fio.superclass.initComponent.apply(this, arguments);
    }
});
Ext.reg('bill-fio', Bill.Fio);

