annotate app/view/proben/CreateForm.js @ 453:2b886fc38282

Formatting
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 12 Dec 2013 11:18:42 +0100
parents 6007d11b81c2
children debfcc7713e3
rev   line source
348
6007d11b81c2 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 278
diff changeset
1 /*
6007d11b81c2 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 278
diff changeset
2 * Formular to create a Probe
6007d11b81c2 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 278
diff changeset
3 */
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 Ext.define('Lada.view.proben.CreateForm', {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 extend: 'Lada.view.widgets.LadaForm',
121
c05fda928b82 Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 91
diff changeset
6 requires: [
c05fda928b82 Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 91
diff changeset
7 'Lada.view.widgets.Datenbasis',
c05fda928b82 Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 91
diff changeset
8 'Lada.view.widgets.Netzbetreiber',
c05fda928b82 Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 91
diff changeset
9 'Lada.view.widgets.Betriebsart',
c05fda928b82 Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 91
diff changeset
10 'Lada.view.widgets.Testdatensatz',
c05fda928b82 Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 91
diff changeset
11 'Lada.view.widgets.Probenart',
c05fda928b82 Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 91
diff changeset
12 'Lada.view.widgets.Uwb'
c05fda928b82 Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 91
diff changeset
13 ],
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 model: 'Lada.model.Probe',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 initComponent: function() {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 this.items = [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 title: 'Probenangaben',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 defaults: {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 labelWidth: 150
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
23 items: [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
24 {
82
679dedddb688 Change fieldtype of Messstelle to combobox.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 81
diff changeset
25 xtype: 'mst',
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
26 name: 'mstId',
80
9dda938db216 Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 79
diff changeset
27 fieldLabel: 'Messstelle',
9dda938db216 Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 79
diff changeset
28 allowBlank: false
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
29 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
30 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
31 xtype: 'textfield',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
32 name: 'hauptprobenNr',
269
eda619ad45b0 Set maxlength to 20
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 267
diff changeset
33 maxLength: 20,
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
34 fieldLabel: 'Hauptprobennr.'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
35 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
36 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
37 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
38 title: 'Erweiterte Probenangaben',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
39 collapsible: true,
81
1279baefd61a Do not collapse the fields, as required field should be visible on creation.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 80
diff changeset
40 collapsed: false,
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
41 items: [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
42 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
43 xtype: 'datenbasis',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
44 id: 'datenbasis',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
45 editable: false,
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
46 name: 'datenbasisId',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
47 fieldLabel: 'Datenbasis'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
48 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
49 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
50 xtype: 'betriebsart',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
51 name: 'baId',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
52 fieldLabel: 'Betriebsart'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
53 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
54 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
55 xtype: 'testdatensatz',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
56 name: 'test',
128
9b14742a8117 Added allowBlanks to the Form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 121
diff changeset
57 fieldLabel: 'Testdatensatz',
9b14742a8117 Added allowBlanks to the Form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 121
diff changeset
58 allowBlank: false
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
59 },
79
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
60 {
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
61 xtype: 'probenart',
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
62 id: 'probenart',
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
63 editable: false,
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
64 name: 'probenartId',
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
65 fieldLabel: 'Probenart',
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
66 allowBlank: false
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
67 },
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
68 {
278
d6d74718a102 Clientseitige Überprüfung der Datenfelder hinzugefügt: Nutzung von "numberfields" bei Zahlenwerten, maxLength, min/maxValue
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 276
diff changeset
69 xtype: 'numberfield',
d6d74718a102 Clientseitige Überprüfung der Datenfelder hinzugefügt: Nutzung von "numberfields" bei Zahlenwerten, maxLength, min/maxValue
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 276
diff changeset
70 allowDecimals: false,
79
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
71 name: 'probeNehmerId',
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
72 fieldLabel: 'Probennehmer'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
73 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
74 {
91
95b08b96f5c9 Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 87
diff changeset
75 xtype: 'netzbetreiber',
87
ee1d1305dcff Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 82
diff changeset
76 name: 'netzbetreiberId',
ee1d1305dcff Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 82
diff changeset
77 fieldLabel: 'Netzbetreiber',
91
95b08b96f5c9 Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 87
diff changeset
78 editable: false,
87
ee1d1305dcff Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 82
diff changeset
79 allowBlank: false
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
80 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
81 ]
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
82 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
83 ]
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
84 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
85 // Medium
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
86 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
87 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
88 title: 'Medium',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
89 defaults: {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
90 labelWidth: 150
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
91 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
92 items: [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
93 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
94 xtype: 'uwb',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
95 name: 'umwId',
80
9dda938db216 Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 79
diff changeset
96 fieldLabel: 'Umweltbereich',
9dda938db216 Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 79
diff changeset
97 allowBlank: false
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
98 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
99 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
100 xtype: 'textfield',
278
d6d74718a102 Clientseitige Überprüfung der Datenfelder hinzugefügt: Nutzung von "numberfields" bei Zahlenwerten, maxLength, min/maxValue
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 276
diff changeset
101 maxLength: 100,
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
102 name: 'media',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
103 fieldLabel: 'Medienbezeichnung'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
104 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
105 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
106 xtype: 'textfield',
278
d6d74718a102 Clientseitige Überprüfung der Datenfelder hinzugefügt: Nutzung von "numberfields" bei Zahlenwerten, maxLength, min/maxValue
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 276
diff changeset
107 maxLength: 100,
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
108 name: 'mediaDesk',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
109 fieldLabel: 'Deskriptoren'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
110 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
111 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
112 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
113 title: 'Details Deskriptoren',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
114 collapsible: true,
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
115 collapsed: true,
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
116 defaultType: 'textfield',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
117 items: this.buildDescriptors()
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
118 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
119 ]
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
120 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
121 // Zeit
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
122 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
123 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
124 title: 'Zeit',
276
dee3e54a61b1 Use datetimepicker for all datefields
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 269
diff changeset
125 defaultType: 'datetime',
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
126 defaults: {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
127 labelWidth: 150
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
128 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
129 items: [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
130 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
131 fieldLabel: 'Probennahme Beginn',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
132 name: 'probeentnahmeBeginn'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
133 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
134 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
135 fieldLabel: 'Probennahme Ende',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
136 name: 'probeentnahmeEnde'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
137 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
138 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
139 fieldLabel: 'Sollzeit Von',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
140 name: 'solldatumBeginn'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
141 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
142 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
143 fieldLabel: 'Sollzeit Bis',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
144 name: 'solldatumEnde'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
145 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
146 ]
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
147 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
148 ];
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
149 this.callParent();
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
150 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
151 buildDescriptors: function() {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
152 var fields = new Array();
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
153 for ($i=0; $i<12; $i++) {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
154 fields[$i] = {fieldLabel: 'S'+$i, name: 's'+$i};
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
155 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
156 return fields;
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
157 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
158 });

http://lada.wald.intevation.org