Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
175:5878159209df | 176:74fc25979b51 |
---|---|
1 Ext.define('Lada.view.messungen.CreateForm', { | 1 Ext.define('Lada.view.messungen.CreateForm', { |
2 extend: 'Lada.view.widgets.LadaForm', | 2 extend: 'Lada.view.widgets.LadaForm', |
3 model: 'Lada.model.Messung', | 3 model: 'Lada.model.Messung', |
4 requires: [ | |
5 'Lada.view.widgets.Messmethode' | |
6 ], | |
4 initComponent: function() { | 7 initComponent: function() { |
5 this.items = [ | 8 this.items = [ |
6 { | 9 { |
7 xtype: 'textfield', | 10 xtype: 'textfield', |
8 name: 'nebenprobenNr', | 11 name: 'nebenprobenNr', |
9 fieldLabel: 'NPR' | 12 fieldLabel: 'NPR' |
10 }, | 13 }, |
11 { | 14 { |
12 xtype: 'textfield', | 15 xtype: 'textfield', |
13 name: 'mmzId', | 16 name: 'mmtId', |
14 fieldLabel: 'MMT' | 17 fieldLabel: 'MMT' |
15 }, | 18 }, |
16 { | 19 { |
17 xtype: 'datefield', | 20 xtype: 'datefield', |
18 name: 'messzeitpunkt', | 21 name: 'messzeitpunkt', |