comparison app/view/proben/Edit.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 7b1140bd8b3d
comparison
equal deleted inserted replaced
121:c05fda928b82 122:a7bfaeb1655d
8 width: Ext.getBody().getViewSize().width - 30, 8 width: Ext.getBody().getViewSize().width - 30,
9 height: Ext.getBody().getViewSize().height - 30, 9 height: Ext.getBody().getViewSize().height - 30,
10 autoShow: true, 10 autoShow: true,
11 autoScroll: true, 11 autoScroll: true,
12 modal: true, 12 modal: true,
13
14 requires: [
15 //'Lada.view.proben.EditForm',
16 //'Lada.view.widgets.Uwb',
17 //'Lada.view.kommentare.List',
18 //'Lada.view.orte.List',
19 //'Lada.view.messungen.List',
20 //'Lada.view.zusatzwerte.List'
21 ],
22 13
23 initComponent: function() { 14 initComponent: function() {
24 // InitialConfig is the config object passed to the constructor on 15 // InitialConfig is the config object passed to the constructor on
25 // creation of this window. We need to pass it throuh to the form as 16 // creation of this window. We need to pass it throuh to the form as
26 // we need the "modelId" param to load the correct item. 17 // we need the "modelId" param to load the correct item.
37 //}); 28 //});
38 //// Load Orte 29 //// Load Orte
39 //var orte = form.down('ortelist'); 30 //var orte = form.down('ortelist');
40 //var ostore = orte.getStore(); 31 //var ostore = orte.getStore();
41 //ostore.load({ 32 //ostore.load({
42 // params: {
43 // probe: this.initialConfig['modelId']
44 // //probe: record.data['probeId']
45 // }
46 //});
47 //// Load Zusatzwerte
48 //var zwerte = form.down('zusatzwertelist');
49 //var zstore = zwerte.getStore();
50 //zstore.load({
51 // params: { 33 // params: {
52 // probe: this.initialConfig['modelId'] 34 // probe: this.initialConfig['modelId']
53 // //probe: record.data['probeId'] 35 // //probe: record.data['probeId']
54 // } 36 // }
55 //}); 37 //});

http://lada.wald.intevation.org