Mercurial > lada > lada-client
annotate app/view/messwerte/CreateForm.js @ 394:6fa3b50949c9
Added tag 0.4 for changeset 92a960b691a4
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 30 Aug 2013 12:54:49 +0200 |
parents | c3c64920b740 |
children | 0ab89a3b9090 |
rev | line source |
---|---|
345
c3c64920b740
Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
344
diff
changeset
|
1 /* |
c3c64920b740
Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
344
diff
changeset
|
2 * Formular to create and edit a Messwert |
c3c64920b740
Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
344
diff
changeset
|
3 */ |
186
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 Ext.define('Lada.view.messwerte.CreateForm', { |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 extend: 'Lada.view.widgets.LadaForm', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 model: 'Lada.model.Messwert', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 requires: [ |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 'Lada.view.widgets.Messgroesse', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 'Lada.view.widgets.Messeinheit' |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 ], |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 initComponent: function() { |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 this.items = [ |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 { |
257
dbd96a7c31a3
Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
186
diff
changeset
|
14 xtype: 'numberfield', |
186
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 name: 'messwert', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 fieldLabel: 'Messwert' |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
17 }, |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 { |
257
dbd96a7c31a3
Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
186
diff
changeset
|
19 xtype: 'numberfield', |
186
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
20 name: 'messfehler', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
21 fieldLabel: 'Messfehler' |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
22 }, |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
23 { |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
24 xtype: 'messgroesse', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
25 name: 'messgroesseId', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
26 fieldLabel: 'Messgroesse' |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
27 }, |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
28 { |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
29 xtype: 'messeinheit', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
30 name: 'mehId', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
31 fieldLabel: 'Messeinheit' |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
32 }, |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
33 { |
257
dbd96a7c31a3
Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
186
diff
changeset
|
34 xtype: 'numberfield', |
186
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
35 name: 'nwgZuMesswert', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
36 fieldLabel: 'Nachweisgrenze' |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
37 } |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
38 ]; |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
39 this.callParent(); |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
40 } |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
41 }); |