Mercurial > lada > lada-client
view app/view/messungen/CreateForm.js @ 176:74fc25979b51
Require messmethode widget. Fix fieldname.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 03 Jul 2013 17:12:27 +0200 |
parents | b0dcaaadb079 |
children | 311065a9e6df |
line wrap: on
line source
Ext.define('Lada.view.messungen.CreateForm', { extend: 'Lada.view.widgets.LadaForm', model: 'Lada.model.Messung', requires: [ 'Lada.view.widgets.Messmethode' ], initComponent: function() { this.items = [ { xtype: 'textfield', name: 'nebenprobenNr', fieldLabel: 'NPR' }, { xtype: 'textfield', name: 'mmtId', fieldLabel: 'MMT' }, { xtype: 'datefield', name: 'messzeitpunkt', fieldLabel: 'Messzeitpunkt' }, { xtype: 'textfield', name: 'messdauer', fieldLabel: 'Messdauer' }, { xtype: 'textfield', name: 'fertig', fieldLabel: 'Fertig' }, { xtype: 'textfield', name: 'geplant', fieldLabel: 'Geplant' } ]; this.callParent(); } });