view app/view/kommentare/CreateForm.js @ 444:52d9af2cf6f1

Merged
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 03 Dec 2013 11:29:27 +0100
parents 1e4f0c42369c
children b5b129742abf
line wrap: on
line source
/*
 * Formular to create and edit a Kommentar
 */
Ext.define('Lada.view.kommentare.CreateForm', {
    extend: 'Lada.view.widgets.LadaForm',
    model: 'Lada.model.Kommentar',
    initComponent: function() {
        this.items = [
            {
                xtype: 'mst',
                maxLength: 5,
                name: 'erzeuger',
                fieldLabel: 'Erzeuger'
            },
            {
                xtype: 'datetime',
                name: 'kdatum',
                fieldLabel: 'Datum'
            },
            {
                xtype: 'textareafield',
                name: 'ktext',
                fieldLabel: 'Text'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org