view app/view/widget/Betriebsart.js @ 632:fead63bb5fb4

Updated images for errors and warnings.
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 16 Mar 2015 17:09:15 +0100
parents d47ee7439f44
children 2e8da590ea0c
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out
 * the documentation coming with IMIS-Labordaten-Application for details.
 */

var betriebsartStore = Ext.create('Ext.data.Store', {
    fields: ['betriebsartId', 'betriebsart'],
    data: [{
        'betriebsartId': '1',
        'betriebsart': 'Normal-/Routinebtrieb'
    }, {
        'betriebsartId': '2',
        'betriebsart': 'Störfall/Intensivbetrieb'
    }]
});

/**
 * Combobox for Betriebsart
 */
Ext.define('Lada.view.widget.Betriebsart', {
    extend: 'Lada.view.widget.base.ComboBox',
    alias: 'widget.betriebsart',
    store: betriebsartStore,
    queryMode: 'local',
    displayField: 'betriebsart',
    valueField: 'betriebsartId',
    emptyText: 'Wählen Sie eine Betriebsart',

    initComponent: function() {
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org