annotate app/view/messwerte/CreateForm.js @ 483:a43cfdd73757

Added tag 1.0 for changeset a9184ba5ee17
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 21 Jan 2014 17:05:58 +0100
parents debfcc7713e3
children 850ccfe5f3c4
rev   line source
472
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 443
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 443
diff changeset
2 * Software engineering by Intevation GmbH
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 443
diff changeset
3 *
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 443
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 443
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 443
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 443
diff changeset
7 */
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 443
diff changeset
8
345
c3c64920b740 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 344
diff changeset
9 /*
c3c64920b740 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 344
diff changeset
10 * Formular to create and edit a Messwert
c3c64920b740 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 344
diff changeset
11 */
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.view.messwerte.CreateForm', {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 extend: 'Lada.view.widgets.LadaForm',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 model: 'Lada.model.Messwert',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 requires: [
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 '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
17 '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
18 'Lada.view.widgets.Nwg'
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 ],
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 initComponent: function() {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 this.items = [
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 {
257
dbd96a7c31a3 Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 186
diff changeset
23 xtype: 'numberfield',
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
24 name: 'messwert',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
25 fieldLabel: 'Messwert'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
26 },
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
27 {
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
28 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
29 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
30 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
31 },
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
32 {
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
33 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
34 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
35 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
36 },
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
37 {
257
dbd96a7c31a3 Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 186
diff changeset
38 xtype: 'numberfield',
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
39 name: 'messfehler',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
40 fieldLabel: 'Messfehler'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
41 },
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
42 {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
43 xtype: 'messgroesse',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
44 name: 'messgroesseId',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
45 fieldLabel: 'Messgroesse'
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 {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
48 xtype: 'messeinheit',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
49 name: 'mehId',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
50 fieldLabel: 'Messeinheit'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
51 }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
52 ];
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
53 this.callParent();
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
54 }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
55 });

http://lada.wald.intevation.org