view app/view/status/CreateForm.js @ 207:62e116cd3e3b

Inheritance of Mkommentare from Kommentare does not work as expected. So write mostly duplicated code for MKommentare.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 09 Jul 2013 15:26:29 +0200
parents 30ba9a98d627
children dee3e54a61b1
line wrap: on
line source
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: 'datefield',
                label: 'Datum',
                name: 'sdatum'
            },
            {
                xtype: 'textarea',
                label: 'Kommentar',
                name: 'skommentar'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org