annotate app/view/messwerte/CreateForm.js @ 450:e228fecd1577

Set lon/lat coordinates when selecting a verwaltungseinheit.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 05 Dec 2013 17:18:45 +0100
parents 0ab89a3b9090
children debfcc7713e3
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',
443
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
9 'Lada.view.widgets.Messeinheit',
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
10 'Lada.view.widgets.Nwg'
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 ],
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 initComponent: function() {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 this.items = [
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 {
257
dbd96a7c31a3 Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 186
diff changeset
15 xtype: 'numberfield',
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 name: 'messwert',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 fieldLabel: 'Messwert'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 },
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 {
443
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
20 xtype: 'nwg',
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
21 name: 'messwertNwg',
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
22 fieldLabel: 'Messwert zu NWG'
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
23 },
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
24 {
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
25 xtype: 'numberfield',
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
26 name: 'nwgZuMesswert',
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
27 fieldLabel: 'Nachweisgrenze'
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
28 },
0ab89a3b9090 Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 345
diff changeset
29 {
257
dbd96a7c31a3 Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 186
diff changeset
30 xtype: 'numberfield',
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
31 name: 'messfehler',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
32 fieldLabel: 'Messfehler'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
33 },
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
34 {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
35 xtype: 'messgroesse',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
36 name: 'messgroesseId',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
37 fieldLabel: 'Messgroesse'
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 {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
40 xtype: 'messeinheit',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
41 name: 'mehId',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
42 fieldLabel: 'Messeinheit'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
43 }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
44 ];
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
45 this.callParent();
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
46 }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
47 });

http://lada.wald.intevation.org