annotate app/view/proben/CreateForm.js @ 122:a7bfaeb1655d

Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 16:56:17 +0200
parents c05fda928b82
children 9b14742a8117
rev   line source
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.view.proben.CreateForm', {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 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
3 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
4 '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
5 '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
6 '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
7 '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
8 '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
9 '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
10 ],
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 model: 'Lada.model.Probe',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 initComponent: function() {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 this.items = [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 title: 'Probenangaben',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 defaults: {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 labelWidth: 150
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 items: [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 {
82
679dedddb688 Change fieldtype of Messstelle to combobox.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 81
diff changeset
22 xtype: 'mst',
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
23 name: 'mstId',
80
9dda938db216 Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 79
diff changeset
24 fieldLabel: 'Messstelle',
9dda938db216 Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 79
diff changeset
25 allowBlank: false
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
26 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
27 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
28 xtype: 'textfield',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
29 name: 'hauptprobenNr',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
30 fieldLabel: 'Hauptprobennr.'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
31 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
32 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
33 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
34 title: 'Erweiterte Probenangaben',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
35 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
36 collapsed: false,
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
37 items: [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
38 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
39 xtype: 'datenbasis',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
40 id: 'datenbasis',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
41 editable: false,
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
42 name: 'datenbasisId',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
43 fieldLabel: 'Datenbasis'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
44 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
45 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
46 xtype: 'betriebsart',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
47 name: 'baId',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
48 fieldLabel: 'Betriebsart'
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 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
51 xtype: 'testdatensatz',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
52 name: 'test',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
53 fieldLabel: 'Testdatensatz'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
54 },
79
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
55 {
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
56 xtype: 'probenart',
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
57 id: 'probenart',
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
58 editable: false,
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
59 name: 'probenartId',
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
60 fieldLabel: 'Probenart',
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
61 allowBlank: false
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
62 },
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
63 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
64 xtype: 'textfield',
79
9eeddf6e40f7 Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 78
diff changeset
65 name: 'probeNehmerId',
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
66 fieldLabel: 'Probennehmer'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
67 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
68 {
91
95b08b96f5c9 Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 87
diff changeset
69 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
70 name: 'netzbetreiberId',
ee1d1305dcff Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 82
diff changeset
71 fieldLabel: 'Netzbetreiber',
91
95b08b96f5c9 Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 87
diff changeset
72 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
73 allowBlank: false
ee1d1305dcff Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 82
diff changeset
74 },
ee1d1305dcff Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 82
diff changeset
75 {
ee1d1305dcff Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 82
diff changeset
76 xtype: 'textfield',
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
77 name: 'x11',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
78 fieldLabel: 'Datensatzerzeuger'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
79 }
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 // Medium
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
85 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
86 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
87 title: 'Medium',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
88 defaults: {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
89 labelWidth: 150
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
90 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
91 items: [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
92 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
93 xtype: 'uwb',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
94 name: 'umwId',
80
9dda938db216 Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 79
diff changeset
95 fieldLabel: 'Umweltbereich',
9dda938db216 Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 79
diff changeset
96 allowBlank: false
67
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
97 },
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 xtype: 'textfield',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
100 name: 'media',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
101 fieldLabel: 'Medienbezeichnung'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
102 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
103 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
104 xtype: 'textfield',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
105 name: 'mediaDesk',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
106 fieldLabel: 'Deskriptoren'
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
107 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
108 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
109 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
110 title: 'Details Deskriptoren',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
111 collapsible: true,
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
112 collapsed: true,
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
113 defaultType: 'textfield',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
114 items: this.buildDescriptors()
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
115 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
116 ]
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
117 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
118 // Zeit
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 xtype: 'fieldset',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
121 title: 'Zeit',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
122 defaultType: 'datefield',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
123 defaults: {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
124 labelWidth: 150
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
125 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
126 items: [
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
127 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
128 fieldLabel: 'Probennahme Beginn',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
129 name: 'probeentnahmeBeginn'
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 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
132 fieldLabel: 'Probennahme Ende',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
133 name: 'probeentnahmeEnde'
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 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
136 fieldLabel: 'Sollzeit Von',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
137 name: 'solldatumBeginn'
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 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
140 fieldLabel: 'Sollzeit Bis',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
141 name: 'solldatumEnde'
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 {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
144 fieldLabel: 'Ursprungszeit',
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
145 name: 'z5'
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 ];
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
150 this.callParent();
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
151 },
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
152 buildDescriptors: function() {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
153 var fields = new Array();
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
154 for ($i=0; $i<12; $i++) {
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
155 fields[$i] = {fieldLabel: 'S'+$i, name: 's'+$i};
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
156 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
157 return fields;
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
158 }
7ea76e760fc2 Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
159 });

http://lada.wald.intevation.org