view app/view/kommentare/CreateForm.js @ 342:1e4f0c42369c

Added documentation
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 11:16:55 +0200
parents dee3e54a61b1
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