Mercurial > lada > lada-client
view app/view/messungen/CreateForm.js @ 312:c5b8c0d8aec3
Fix initialisation of Messungen controller
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 13 Aug 2013 08:00:07 +0200 |
parents | d6d74718a102 |
children | eccf58d3b106 |
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', 'Lada.view.widgets.Testdatensatz' ], initComponent: function() { this.items = [ { xtype: 'textfield', name: 'nebenprobenNr', maxLength: 10, fieldLabel: 'NPR' }, { xtype: 'messmethode', name: 'mmtId', fieldLabel: 'MMT' }, { xtype: 'datetime', name: 'messzeitpunkt', fieldLabel: 'Messzeitpunkt' }, { xtype: 'numberfield', allowDecimals: false, minValue: 0, name: 'messdauer', fieldLabel: 'Messdauer' }, { xtype: 'testdatensatz', name: 'fertig', fieldLabel: 'Fertig' }, { xtype: 'testdatensatz', name: 'geplant', fieldLabel: 'Geplant' } ]; this.callParent(); } });