Sha256: 8e31c0cd79be6e491098d170566c16c182486c93726380fdb7edb9bd45bccb86

Contents?: true

Size: 614 Bytes

Versions: 6

Compression:

Stored size: 614 Bytes

Contents

Ext.define('FastUI.view.vfield.VFile',{
    extend: 'Ext.form.field.File',

    valueObject: {},
    winCtx:{},
    winId:0,
    rest:{},
    buttonText: '',
    buttonConfig: {
        iconCls: 'fastui-upload'
    },
    initComponent:function(){
        this.fieldLabel = this.getFValue('title');
        this.name =  this.rest.getTableName() + '[' + this.getFValue('m_property').name + ']';
        this.disabled = this.getFValue('is_readonly');
        this.allowBlank = true;
        this.callParent();
    },
    getFValue:function (key) {
        return this.valueObject[key];
    }
});

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fastui-0.1.8 app/assets/javascripts/fastui/app/view/vfield/VFile.js
fastui-0.1.7 app/assets/javascripts/fastui/app/view/vfield/VFile.js
fastui-0.1.6 app/assets/javascripts/fastui/app/view/vfield/VFile.js
fastui-0.1.4 app/assets/javascripts/fastui/app/view/vfield/VFile.js
fastui-0.1.3 app/assets/javascripts/fastui/app/view/vfield/VFile.js
fastui-0.1.2 app/assets/javascripts/fastui/app/view/vfield/VFile.js