torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out torsten@472: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@346: /* torsten@346: * Formular to create and edit a Kommentar for Messungen torsten@346: */ torsten@207: Ext.define('Lada.view.mkommentare.CreateForm', { torsten@207: extend: 'Lada.view.widgets.LadaForm', raimund@490: model: 'Lada.model.KommentarM', torsten@207: initComponent: function() { torsten@207: this.items = [ torsten@207: { torsten@266: xtype: 'mst', torsten@207: name: 'erzeuger', torsten@207: fieldLabel: 'Erzeuger' torsten@207: }, torsten@207: { torsten@276: xtype: 'datetime', raimund@490: name: 'datum', torsten@207: fieldLabel: 'Datum' torsten@207: }, torsten@207: { torsten@207: xtype: 'textareafield', torsten@278: maxLength: 1024, raimund@490: name: 'text', torsten@207: fieldLabel: 'Text' torsten@207: } torsten@207: ]; torsten@207: this.callParent(); torsten@207: } torsten@207: });