comparison app/view/messungen/CreateForm.js @ 179:f1f0351b6e2f

Show List of Messungskommentare
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 04 Jul 2013 12:21:25 +0200
parents 311065a9e6df
children 062aa9001eb6
comparison
equal deleted inserted replaced
178:c53f3110852e 179:f1f0351b6e2f
1 Ext.define('Lada.view.messungen.CreateForm', { 1 Ext.define('Lada.view.messungen.CreateForm', {
2 extend: 'Lada.view.widgets.LadaForm', 2 extend: 'Lada.view.widgets.LadaForm',
3 model: 'Lada.model.Messung', 3 model: 'Lada.model.Messung',
4 requires: [ 4 requires: [
5 'Lada.view.widgets.Messmethode' 5 'Lada.view.widgets.Messmethode',
6 'Lada.view.mkommentare.List'
6 ], 7 ],
7 initComponent: function() { 8 initComponent: function() {
8 this.items = [ 9 this.items = [
9 { 10 {
10 xtype: 'textfield', 11 xtype: 'textfield',
33 }, 34 },
34 { 35 {
35 xtype: 'textfield', 36 xtype: 'textfield',
36 name: 'geplant', 37 name: 'geplant',
37 fieldLabel: 'Geplant' 38 fieldLabel: 'Geplant'
39 },
40 // Messungskommentare
41 {
42 xtype: 'fieldset',
43 title: 'Messungskommentare',
44 collapsible: true,
45 collapsed: false,
46 padding: '10 10',
47 items: [
48 {
49 xtype: 'mkommentarelist',
50 parentId: this.modelId
51 }
52 ]
38 } 53 }
39 ]; 54 ];
40 this.callParent(); 55 this.callParent();
41 } 56 }
42 }); 57 });

http://lada.wald.intevation.org