annotate app/view/messwerte/CreateForm.js @ 333:6964cd97d35f

Inherit form model.base. Formatting
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 08:54:25 +0200
parents dbd96a7c31a3
children 99638e4fa547
rev   line source
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.view.messwerte.CreateForm', {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Lada.view.widgets.LadaForm',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 model: 'Lada.model.Messwert',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 requires: [
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 // 'Lada.view.widgets.Messmethode',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 'Lada.view.widgets.Messgroesse',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 'Lada.view.widgets.Messeinheit'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 // 'Lada.view.mkommentare.List',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 // 'Lada.view.status.List',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 // 'Lada.view.messwerte.List'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 ],
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 initComponent: function() {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 this.items = [
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 {
257
dbd96a7c31a3 Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 186
diff changeset
15 xtype: 'numberfield',
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 name: 'messwert',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 fieldLabel: 'Messwert'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 },
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 {
257
dbd96a7c31a3 Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 186
diff changeset
20 xtype: 'numberfield',
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 name: 'messfehler',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 fieldLabel: 'Messfehler'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
23 },
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
24 {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
25 xtype: 'messgroesse',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
26 name: 'messgroesseId',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
27 fieldLabel: 'Messgroesse'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
28 },
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
29 {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
30 xtype: 'messeinheit',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
31 name: 'mehId',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
32 fieldLabel: 'Messeinheit'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
33 },
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
34 {
257
dbd96a7c31a3 Fixed Issue54. Set fieldtype to numberfield.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 186
diff changeset
35 xtype: 'numberfield',
186
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
36 name: 'nwgZuMesswert',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
37 fieldLabel: 'Nachweisgrenze'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
38 }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
39 //{
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
40 // xtype: 'datefield',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
41 // name: 'messzeitpunkt',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
42 // fieldLabel: 'Messzeitpunkt'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
43 //},
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
44 //{
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
45 // xtype: 'textfield',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
46 // name: 'messdauer',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
47 // fieldLabel: 'Messdauer'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
48 //},
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
49 //{
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
50 // xtype: 'testdatensatz',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
51 // name: 'fertig',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
52 // fieldLabel: 'Fertig'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
53 //},
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
54 //{
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
55 // xtype: 'testdatensatz',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
56 // name: 'geplant',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
57 // fieldLabel: 'Geplant'
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
58 //},
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
59 //// Messwerte
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
60 //{
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
61 // xtype: 'fieldset',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
62 // title: 'Messwerte',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
63 // collapsible: true,
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
64 // collapsed: false,
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
65 // padding: '10 10',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
66 // items: [
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
67 // {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
68 // xtype: 'messwertelist',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
69 // parentId: this.modelId
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
70 // }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
71 // ]
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
72 //},
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
73 //// Status
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
74 //{
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
75 // xtype: 'fieldset',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
76 // title: 'Messungsstatus',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
77 // collapsible: true,
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
78 // collapsed: false,
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
79 // padding: '10 10',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
80 // items: [
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
81 // {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
82 // xtype: 'statuslist',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
83 // parentId: this.modelId
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
84 // }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
85 // ]
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
86 //},
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
87 //// Messungskommentare
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
88 //{
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
89 // xtype: 'fieldset',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
90 // title: 'Messungskommentare',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
91 // collapsible: true,
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
92 // collapsed: false,
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
93 // padding: '10 10',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
94 // items: [
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
95 // {
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
96 // xtype: 'mkommentarelist',
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
97 // parentId: this.modelId
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
98 // }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
99 // ]
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
100 //}
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
101 ];
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
102 this.callParent();
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
103 }
956555e20e02 Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
104 });

http://lada.wald.intevation.org