view app/view/search/Query1.js @ 189:214d1b274a50

As the model now should have a readonly flag, the check if the form must be rendered as readonly was moved to the place where the model is actually bound to the form.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 05 Jul 2013 14:49:15 +0200
parents 897e3100c6da
children
line wrap: on
line source
Ext.define('Lada.view.search.Query1' ,{
    extend: 'Ext.form.FieldSet',
    title: 'Variablenbelegung',
    alias: 'widget.query1',
    requires: [
        'Lada.view.widgets.Mst',
        'Lada.view.widgets.Uwb'
    ],
    initComponent: function() {
        this.items = [
            {
                id: 'mst',
                xtype: 'mst',
                fieldLabel: 'Messstelle',
                labelWidth: 100
            },
            {
                id: 'uwb',
                xtype: 'uwb',
                fieldLabel: 'Umweltbereich',
                labelWidth: 100
            }
        ];
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org