Mercurial > lada > lada-client
view app/view/messungen/CreateForm.js @ 177:311065a9e6df
Use Messmethodewidget.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 04 Jul 2013 09:57:31 +0200 |
parents | 74fc25979b51 |
children | f1f0351b6e2f |
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: 'messmethode', 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(); } });