view app/view/kommentare/CreateForm.js @ 238:2a23fcca8ead

On Default the proben list will have no columns at all. The are added dynamically later when the user selects a search query.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:29:37 +0200
parents 6527b1598196
children f005f43007b5
line wrap: on
line source
Ext.define('Lada.view.kommentare.CreateForm', {
    extend: 'Lada.view.widgets.LadaForm',
    model: 'Lada.model.Kommentar',
    initComponent: function() {
        this.items = [
            {
                xtype: 'textfield',
                maxLength: 5,
                name: 'erzeuger',
                fieldLabel: 'Erzeuger'
            },
            {
                xtype: 'datefield',
                name: 'kdatum',
                fieldLabel: 'Datum'
            },
            {
                xtype: 'textareafield',
                name: 'ktext',
                fieldLabel: 'Text'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org