view app/view/kommentare/CreateForm.js @ 364:d0f5be50aed5

Fixed syntax
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 15 Aug 2013 16:58:48 +0200
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