view app/view/kommentare/CreateForm.js @ 128:9b14742a8117

Added allowBlanks to the Form.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 25 Jun 2013 11:49:33 +0200
parents 6273b73b4b27
children 7b1140bd8b3d
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',
                name: 'erzeuger',
                fieldLabel: 'Erzeuger'
            },
            {
                xtype: 'datefield',
                name: 'kdatum',
                fieldLabel: 'Datum'
            },
            {
                xtype: 'textareafield',
                name: 'ktext',
                fieldLabel: 'Text'
            }
        ];
        //this.buttons = [
        //    {
        //        text: 'Speichern',
        //        handler: this.commit,
        //        scope: this
        //    }
        //];
        this.callParent();
    }
});

http://lada.wald.intevation.org