view app/view/status/CreateForm.js @ 418:957a4a9fd260

Enabled multiselect for query filter. (Used as example in final workshop)
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 09 Oct 2013 15:02:06 +0200
parents b7c419a2b476
children debfcc7713e3
line wrap: on
line source
/*
 * Formular to create and edit a Status
 */
Ext.define('Lada.view.status.CreateForm', {
    extend: 'Lada.view.widgets.LadaForm',
    requires : [
        'Lada.view.widgets.Mst',
        'Lada.view.widgets.Statuswert'
    ],
    model: 'Lada.model.Status',
    initComponent: function() {
        this.items = [
            {
                xtype: 'mst',
                label: 'Erzeuger',
                name: 'erzeuger'
            },
            {
                xtype: 'statuswert',
                label: 'Status',
                name: 'status'
            },
            {
                xtype: 'datetime',
                label: 'Datum',
                name: 'sdatum'
            },
            {
                xtype: 'textarea',
                label: 'Kommentar',
                name: 'skommentar'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org