view app/view/search/Query1.js @ 162:5eb0cfac0e30

Added nested id attribute which comes in JSON response to the model as we need it later in the grid view to be able to acess messungsIs and probeId in the custom renderer.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 03 Jul 2013 14:02:35 +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