comparison app/view/messwerte/CreateForm.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents debfcc7713e3
children 7c0653e8d9f7
comparison
equal deleted inserted replaced
490:446e99cfd425 491:850ccfe5f3c4
9 /* 9 /*
10 * Formular to create and edit a Messwert 10 * Formular to create and edit a Messwert
11 */ 11 */
12 Ext.define('Lada.view.messwerte.CreateForm', { 12 Ext.define('Lada.view.messwerte.CreateForm', {
13 extend: 'Lada.view.widgets.LadaForm', 13 extend: 'Lada.view.widgets.LadaForm',
14 model: 'Lada.model.Messwert',
15 requires: [ 14 requires: [
16 'Lada.view.widgets.Messgroesse', 15 'Lada.view.widgets.Messgroesse',
17 'Lada.view.widgets.Messeinheit', 16 'Lada.view.widgets.Messeinheit',
18 'Lada.view.widgets.Nwg' 17 'Lada.view.widgets.Nwg'
19 ], 18 ],
19
20 model: 'Lada.model.Messwert',
21
20 initComponent: function() { 22 initComponent: function() {
21 this.items = [ 23 this.items = [{
22 { 24 xtype: 'numberfield',
23 xtype: 'numberfield', 25 name: 'messwert',
24 name: 'messwert', 26 fieldLabel: 'Messwert'
25 fieldLabel: 'Messwert' 27 }, {
26 }, 28 xtype: 'nwg',
27 { 29 name: 'messwertNwg',
28 xtype: 'nwg', 30 fieldLabel: 'Messwert zu NWG'
29 name: 'messwertNwg', 31 }, {
30 fieldLabel: 'Messwert zu NWG' 32 xtype: 'numberfield',
31 }, 33 name: 'nwgZuMesswert',
32 { 34 fieldLabel: 'Nachweisgrenze'
33 xtype: 'numberfield', 35 }, {
34 name: 'nwgZuMesswert', 36 xtype: 'numberfield',
35 fieldLabel: 'Nachweisgrenze' 37 name: 'messfehler',
36 }, 38 fieldLabel: 'Messfehler'
37 { 39 }, {
38 xtype: 'numberfield', 40 xtype: 'messgroesse',
39 name: 'messfehler', 41 name: 'messgroesseId',
40 fieldLabel: 'Messfehler' 42 fieldLabel: 'Messgroesse'
41 }, 43 }, {
42 { 44 xtype: 'messeinheit',
43 xtype: 'messgroesse', 45 name: 'mehId',
44 name: 'messgroesseId', 46 fieldLabel: 'Messeinheit'
45 fieldLabel: 'Messgroesse' 47 }];
46 }, 48 this.callParent(arguments);
47 {
48 xtype: 'messeinheit',
49 name: 'mehId',
50 fieldLabel: 'Messeinheit'
51 }
52 ];
53 this.callParent();
54 } 49 }
55 }); 50 });

http://lada.wald.intevation.org