Mercurial > lada > lada-client
annotate app/view/proben/CreateForm.js @ 79:9eeddf6e40f7
Fixed fieldnaming.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 11 Jun 2013 09:57:45 +0200 |
parents | a8619efdf3ae |
children | 9dda938db216 |
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', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 model: 'Lada.model.Probe', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 initComponent: function() { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 this.items = [ |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 title: 'Probenangaben', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 defaults: { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 labelWidth: 150 |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 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: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 name: 'mstId', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
17 fieldLabel: 'Messstelle' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 }, |
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 xtype: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
21 name: 'hauptprobenNr', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
22 fieldLabel: 'Hauptprobennr.' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
23 }, |
78
a8619efdf3ae
Removed ID field from create form as providing a value here seems to trigger a
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
67
diff
changeset
|
24 //{ |
a8619efdf3ae
Removed ID field from create form as providing a value here seems to trigger a
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
67
diff
changeset
|
25 // xtype: 'textfield', |
a8619efdf3ae
Removed ID field from create form as providing a value here seems to trigger a
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
67
diff
changeset
|
26 // name: 'probeId', |
a8619efdf3ae
Removed ID field from create form as providing a value here seems to trigger a
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
67
diff
changeset
|
27 // fieldLabel: 'Probe-ID' |
a8619efdf3ae
Removed ID field from create form as providing a value here seems to trigger a
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
67
diff
changeset
|
28 //}, |
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 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
31 title: 'Erweiterte Probenangaben', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
32 collapsible: true, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
33 collapsed: true, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
34 items: [ |
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 xtype: 'datenbasis', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
37 id: 'datenbasis', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
38 editable: false, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
39 name: 'datenbasisId', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
40 fieldLabel: 'Datenbasis' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
41 }, |
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: 'betriebsart', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
44 name: 'baId', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
45 fieldLabel: 'Betriebsart' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
46 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
47 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
48 xtype: 'testdatensatz', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
49 name: 'test', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
50 fieldLabel: 'Testdatensatz' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
51 }, |
79
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
52 { |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
53 xtype: 'probenart', |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
54 id: 'probenart', |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
55 editable: false, |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
56 name: 'probenartId', |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
57 fieldLabel: 'Probenart', |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
58 allowBlank: false |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
59 }, |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
60 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
61 xtype: 'textfield', |
79
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
62 name: 'probeNehmerId', |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
63 fieldLabel: 'Probennehmer' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
64 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
65 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
66 xtype: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
67 name: 'x11', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
68 fieldLabel: 'Datensatzerzeuger' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
69 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
70 ] |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
71 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
72 ] |
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 // Medium |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
75 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
76 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
77 title: 'Medium', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
78 defaults: { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
79 labelWidth: 150 |
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 items: [ |
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 xtype: 'uwb', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
84 name: 'umwId', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
85 fieldLabel: 'Umweltbereich' |
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 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
88 xtype: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
89 name: 'media', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
90 fieldLabel: 'Medienbezeichnung' |
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 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
93 xtype: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
94 name: 'mediaDesk', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
95 fieldLabel: 'Deskriptoren' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
96 }, |
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 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
99 title: 'Details Deskriptoren', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
100 collapsible: true, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
101 collapsed: true, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
102 defaultType: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
103 items: this.buildDescriptors() |
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 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
107 // Zeit |
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: 'Zeit', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
111 defaultType: 'datefield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
112 defaults: { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
113 labelWidth: 150 |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
114 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
115 items: [ |
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 fieldLabel: 'Probennahme Beginn', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
118 name: 'probeentnahmeBeginn' |
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 fieldLabel: 'Probennahme Ende', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
122 name: 'probeentnahmeEnde' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
123 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
124 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
125 fieldLabel: 'Sollzeit Von', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
126 name: 'solldatumBeginn' |
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 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
129 fieldLabel: 'Sollzeit Bis', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
130 name: 'solldatumEnde' |
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 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
133 fieldLabel: 'Ursprungszeit', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
134 name: 'z5' |
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 ] |
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 //this.buttons = [ |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
140 // { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
141 // text: 'Speichern', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
142 // handler: this.commit, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
143 // scope: this |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
144 // } |
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 this.callParent(); |
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 buildDescriptors: function() { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
149 var fields = new Array(); |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
150 for ($i=0; $i<12; $i++) { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
151 fields[$i] = {fieldLabel: 'S'+$i, name: 's'+$i}; |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
152 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
153 return fields; |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
154 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
155 }); |