Mercurial > lada > lada-client
annotate 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 |
rev | line source |
---|---|
108
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.view.messungen.CreateForm', { |
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Lada.view.widgets.LadaForm', |
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 model: 'Lada.model.Messung', |
176
74fc25979b51
Require messmethode widget. Fix fieldname.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
174
diff
changeset
|
4 requires: [ |
74fc25979b51
Require messmethode widget. Fix fieldname.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
174
diff
changeset
|
5 'Lada.view.widgets.Messmethode' |
74fc25979b51
Require messmethode widget. Fix fieldname.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
174
diff
changeset
|
6 ], |
108
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 initComponent: function() { |
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 this.items = [ |
174
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
9 { |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
10 xtype: 'textfield', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
11 name: 'nebenprobenNr', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
12 fieldLabel: 'NPR' |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
13 }, |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
14 { |
177
311065a9e6df
Use Messmethodewidget.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
176
diff
changeset
|
15 xtype: 'messmethode', |
176
74fc25979b51
Require messmethode widget. Fix fieldname.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
174
diff
changeset
|
16 name: 'mmtId', |
174
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
17 fieldLabel: 'MMT' |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
18 }, |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
19 { |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
20 xtype: 'datefield', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
21 name: 'messzeitpunkt', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
22 fieldLabel: 'Messzeitpunkt' |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
23 }, |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
24 { |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
25 xtype: 'textfield', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
26 name: 'messdauer', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
27 fieldLabel: 'Messdauer' |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
28 }, |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
29 { |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
30 xtype: 'textfield', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
31 name: 'fertig', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
32 fieldLabel: 'Fertig' |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
33 }, |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
34 { |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
35 xtype: 'textfield', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
36 name: 'geplant', |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
37 fieldLabel: 'Geplant' |
b0dcaaadb079
Added basic fields for Messungen.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
108
diff
changeset
|
38 } |
108
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
39 ]; |
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
40 this.callParent(); |
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
41 } |
6c69bbb61c65
Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
42 }); |