Mercurial > lada > lada-client
annotate app/view/proben/EditForm.js @ 544:d2e90f117c20
updated error and warning handling.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 18 Dec 2014 15:04:21 +0100 |
parents | 0a948bb99b60 |
children |
rev | line source |
---|---|
472
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
348
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
348
diff
changeset
|
2 * Software engineering by Intevation GmbH |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
348
diff
changeset
|
3 * |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
348
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
348
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
497
7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
491
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
472
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
348
diff
changeset
|
7 */ |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
348
diff
changeset
|
8 |
348
6007d11b81c2
Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
278
diff
changeset
|
9 /* |
6007d11b81c2
Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
278
diff
changeset
|
10 * Formular to edit a Probe |
6007d11b81c2
Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
278
diff
changeset
|
11 */ |
268
a191ab267e5f
Fixed Syntax.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
267
diff
changeset
|
12 Ext.define('Lada.view.proben.EditForm', { |
71
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 extend: 'Lada.view.widgets.LadaForm', |
497
7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
491
diff
changeset
|
14 alias: 'widget.probeneditform', |
121
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
106
diff
changeset
|
15 requires: [ |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
106
diff
changeset
|
16 'Lada.view.widgets.Datenbasis', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
106
diff
changeset
|
17 'Lada.view.widgets.Netzbetreiber', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
106
diff
changeset
|
18 'Lada.view.widgets.Betriebsart', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
106
diff
changeset
|
19 'Lada.view.widgets.Testdatensatz', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
106
diff
changeset
|
20 'Lada.view.widgets.Probenart', |
122
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
121
diff
changeset
|
21 'Lada.view.widgets.Uwb', |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
22 'Lada.view.widgets.TextField', |
144
7b1140bd8b3d
Re-Added Kommentare
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
128
diff
changeset
|
23 'Lada.view.zusatzwerte.List', |
150
13869814cdb8
Renabled ortelist
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
144
diff
changeset
|
24 'Lada.view.kommentare.List', |
160
c932b0b41d2a
Reenabled Messungen in ProbenEdit.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
154
diff
changeset
|
25 'Lada.view.orte.List', |
c932b0b41d2a
Reenabled Messungen in ProbenEdit.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
154
diff
changeset
|
26 'Lada.view.messungen.List' |
121
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
106
diff
changeset
|
27 ], |
497
7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
491
diff
changeset
|
28 |
71
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
29 model: 'Lada.model.Probe', |
506
2b5aa0e6e641
Moved min width from lada form superclass to concrete form classes.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
503
diff
changeset
|
30 minWidth: 650, |
71
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
31 |
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
32 initComponent: function() { |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
33 var me = this; |
497
7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
491
diff
changeset
|
34 this.items = [{ |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
35 xtype: 'fieldset', |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
36 title: 'Allgemein', |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
37 items: [{ |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
38 border: 0, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
39 margin: '0, 0, 10, 0', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
40 dockedItems: [{ |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
41 xtype: 'toolbar', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
42 dock: 'bottom', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
43 border: '0, 1, 1, 1', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
44 style: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
45 borderBottom: '1px solid #b5b8c8 !important', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
46 borderLeft: '1px solid #b5b8c8 !important', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
47 borderRight: '1px solid #b5b8c8 !important' |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
48 }, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
49 items: ['->', { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
50 text: 'Speichern', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
51 qtip: 'Daten speichern', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
52 icon: 'gfx/dialog-ok-apply.png', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
53 action: 'save', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
54 scope: me, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
55 handler: this.commit |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
56 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
57 text: 'Verwerfen', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
58 qtip: 'Ă„nderungen verwerfen', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
59 icon: 'gfx/dialog-cancel.png', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
60 action: 'discard', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
61 disabled: true, |
519
48593a6181c9
minor scope fix.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
515
diff
changeset
|
62 scope: me, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
63 handler: this.reset |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
64 }] |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
65 }], |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
66 items: [{ |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
67 layout: 'hbox', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
68 border: 0, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
69 items: [{ |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
70 border: 0, |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
71 width: '50%', |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
72 minWidth: 290, |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
73 layout: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
74 type: 'vbox', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
75 align: 'stretch' |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
76 }, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
77 margin: '0, 10, 0, 0', |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
78 items: [{ |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
79 xtype: 'mst', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
80 name: 'mstId', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
81 fieldLabel: 'Messstelle', |
532
91a1a88ee353
some resizing and layout.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
519
diff
changeset
|
82 labelWidth: 135, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
83 allowBlank: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
84 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
85 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
86 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
87 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
88 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
89 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
90 }, { |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
91 xtype: 'tfield', |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
92 name: 'hauptprobenNr', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
93 maxLength: 20, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
94 fieldLabel: 'Hauptprobennr.', |
532
91a1a88ee353
some resizing and layout.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
519
diff
changeset
|
95 labelWidth: 135, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
96 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
97 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
98 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
99 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
100 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
101 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
102 }] |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
103 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
104 border: 0, |
532
91a1a88ee353
some resizing and layout.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
519
diff
changeset
|
105 width: '50%', |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
106 minWidth: 300, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
107 items: [{ |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
108 xtype: 'fieldset', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
109 title: 'Erweiterte Angaben', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
110 collapsible: true, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
111 collapsed: true, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
112 items: [{ |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
113 xtype: 'datenbasis', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
114 id: 'datenbasis', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
115 editable: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
116 name: 'datenbasisId', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
117 fieldLabel: 'Datenbasis', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
118 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
119 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
120 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
121 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
122 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
123 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
124 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
125 xtype: 'betriebsart', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
126 name: 'baId', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
127 fieldLabel: 'Betriebsart', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
128 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
129 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
130 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
131 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
132 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
133 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
134 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
135 xtype: 'testdatensatz', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
136 name: 'test', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
137 fieldLabel: 'Testdatensatz', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
138 allowBlank: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
139 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
140 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
141 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
142 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
143 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
144 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
145 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
146 xtype: 'probenart', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
147 id: 'probenart', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
148 editable: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
149 name: 'probenartId', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
150 fieldLabel: 'Probenart', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
151 allowBlank: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
152 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
153 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
154 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
155 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
156 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
157 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
158 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
159 xtype: 'numberfield', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
160 allowDecimals: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
161 name: 'probeNehmerId', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
162 fieldLabel: 'Probennehmer', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
163 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
164 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
165 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
166 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
167 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
168 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
169 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
170 xtype: 'netzbetreiber', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
171 name: 'netzbetreiberId', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
172 editable: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
173 fieldLabel: 'Netzbetreiber', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
174 allowBlank: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
175 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
176 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
177 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
178 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
179 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
180 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
181 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
182 xtype: 'textfield', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
183 name: 'x11', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
184 fieldLabel: 'Datensatzerzeuger', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
185 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
186 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
187 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
188 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
189 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
190 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
191 }] |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
192 }] |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
193 }] |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
194 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
195 // Medium |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
196 xtype: 'fieldset', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
197 title: 'Medium', |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
198 items: [{ |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
199 border: 0, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
200 layout: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
201 type: 'vbox', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
202 align: 'stretch' |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
203 }, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
204 width: '100%', |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
205 items: [{ |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
206 xtype: 'textfield', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
207 name: 'media', |
532
91a1a88ee353
some resizing and layout.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
519
diff
changeset
|
208 labelWidth: 125, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
209 fieldLabel: 'Medienbezeichnung', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
210 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
211 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
212 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
213 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
214 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
215 } |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
216 }, { |
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
217 xtype: 'textfield', |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
218 maxLength: 100, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
219 name: 'mediaDesk', |
532
91a1a88ee353
some resizing and layout.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
519
diff
changeset
|
220 labelWidth: 125, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
221 fieldLabel: 'Deskriptoren', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
222 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
223 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
224 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
225 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
226 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
227 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
228 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
229 xtype: 'uwb', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
230 name: 'umwId', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
231 fieldLabel: 'Umweltbereich', |
532
91a1a88ee353
some resizing and layout.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
519
diff
changeset
|
232 labelWidth: 125, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
233 allowBlank: false, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
234 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
235 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
236 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
237 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
238 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
239 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
240 }, { |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
241 xtype: 'fieldset', |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
242 title: 'Details Deskriptoren', |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
243 collapsible: true, |
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
244 collapsed: true, |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
245 defaultType: 'textfield', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
246 layout: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
247 type: 'table', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
248 columns: 3 |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
249 }, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
250 items: this.buildDescriptors(), |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
251 listeners: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
252 dirtychange: { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
253 fn: this.updateOnChange, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
254 scope: me |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
255 } |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
256 } |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
257 }] |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
258 }] |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
259 }, { |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
260 // Zeit |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
261 xtype: 'fieldset', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
262 title: 'Zeit', |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
263 layout: { |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
264 type: 'hbox' |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
265 }, |
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
266 items: [{ |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
267 layout: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
268 type: 'vbox', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
269 align: 'stretch' |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
270 }, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
271 border: 0, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
272 items: [{ |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
273 xtype: 'datetime', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
274 fieldLabel: 'Probennahme Beginn', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
275 fieldMargin: '0, 10, 5, 0', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
276 labelWidth: 125, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
277 name: 'probeentnahmeBeginn', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
278 listeners: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
279 dirtychange: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
280 fn: this.updateOnChange, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
281 scope: me |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
282 } |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
283 } |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
284 }, { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
285 xtype: 'datetime', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
286 fieldLabel: 'Probennahme Ende', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
287 fieldMargin: '0, 10, 5, 0', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
288 labelWidth: 125, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
289 name: 'probeentnahmeEnde', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
290 listeners: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
291 dirtychange: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
292 fn: this.updateOnChange, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
293 scope: me |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
294 } |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
295 } |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
296 }] |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
297 }, { |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
298 layout: 'vbox', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
299 border: 0, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
300 items: [{ |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
301 xtype: 'datetime', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
302 fieldLabel: 'Sollzeit Von', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
303 fieldMargin: '0, 10, 5, 0', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
304 labelWidth: 90, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
305 name: 'solldatumBeginn', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
306 listeners: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
307 dirtychange: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
308 fn: this.updateOnChange, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
309 scope: me |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
310 } |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
311 } |
542
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
312 }, { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
313 xtype: 'datetime', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
314 fieldLabel: 'Sollzeit Bis', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
315 fieldMargin: '0, 10, 5, 0', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
316 labelWidth: 90, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
317 name: 'solldatumEnde', |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
318 listeners: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
319 dirtychange: { |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
320 fn: this.updateOnChange, |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
321 scope: me |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
322 } |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
323 } |
0a948bb99b60
Added error and warning handling to date time field.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
532
diff
changeset
|
324 }] |
515
66f3c5d258e2
Added save and discard buttons to proben header fields and listen to changes to enable or disable buttons.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
506
diff
changeset
|
325 }] |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
326 }] |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
327 }] |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
328 }, { |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
329 // Ortsangaben |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
330 xtype: 'fieldset', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
331 title: 'Ortsangaben', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
332 padding: '10 10', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
333 items: [{ |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
334 xtype: 'ortelist', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
335 probeId: this.modelId |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
336 }] |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
337 }, { |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
338 // Probenzusatzwerte |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
339 xtype: 'fieldset', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
340 title: 'Probenzusatzwerte', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
341 collapsible: true, |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
342 collapsed: true, |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
343 padding: '10 10', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
344 items: [{ |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
345 xtype: 'zusatzwertelist', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
346 probeId: this.modelId |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
347 }] |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
348 }, { |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
349 // Probenkommentar |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
350 xtype: 'fieldset', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
351 title: 'Probenkommentare', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
352 collapsible: true, |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
353 collapsed: true, |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
354 padding: '10 10', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
355 items: [{ |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
356 xtype: 'kommentarelist', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
357 probeId: this.modelId |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
358 }] |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
359 }, { |
160
c932b0b41d2a
Reenabled Messungen in ProbenEdit.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
154
diff
changeset
|
360 // Messungsangaben |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
361 xtype: 'fieldset', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
362 title: 'Messungsangaben', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
363 padding: '10 10', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
364 items: [{ |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
365 xtype: 'messungenlist', |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
366 probeId: this.modelId |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
367 }] |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
368 }]; |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
369 this.callParent(arguments); |
71
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
370 }, |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
371 |
71
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
372 buildDescriptors: function() { |
497
7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
491
diff
changeset
|
373 var fields = []; |
7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
491
diff
changeset
|
374 for (var i = 0; i < 12; i++) { |
7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
491
diff
changeset
|
375 fields[i] = { |
503
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
376 fieldLabel: 'S' + i, |
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
377 name: 's' + i, |
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
378 labelWidth: 25, |
369917727c86
Refactored proben edit window.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
497
diff
changeset
|
379 margin: '0, 10, 5, 0' |
497
7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
491
diff
changeset
|
380 }; |
71
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
381 } |
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
382 return fields; |
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
383 } |
db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
384 }); |