comparison app/view/form/Messprogramm.js @ 1171:9182430b79d7

Merge
author Evi Huber <ehuber@bfs.de>
date Mon, 04 Jul 2016 11:26:42 +0200
parents e552e82ceb8a
children 1ae5e4f0f2c8
comparison
equal deleted inserted replaced
1170:8280cd5694e5 1171:9182430b79d7
19 'Lada.view.widget.Netzbetreiber', 19 'Lada.view.widget.Netzbetreiber',
20 'Lada.view.widget.Betriebsart', 20 'Lada.view.widget.Betriebsart',
21 'Lada.view.widget.Probenart', 21 'Lada.view.widget.Probenart',
22 'Lada.view.widget.Umwelt', 22 'Lada.view.widget.Umwelt',
23 'Lada.view.widget.base.TextField', 23 'Lada.view.widget.base.TextField',
24 'Lada.view.widget.base.NumberField',
24 'Lada.view.widget.base.FieldSet', 25 'Lada.view.widget.base.FieldSet',
25 'Lada.model.Messprogramm', 26 'Lada.model.Messprogramm',
26 'Lada.model.MmtMessprogramm', 27 'Lada.model.MmtMessprogramm',
27 'Lada.view.widget.Probenintervall', 28 'Lada.view.widget.Probenintervall',
28 'Lada.view.widget.Location', 29 'Lada.view.widget.Location',
210 margin: '0, 10, 5, 5', 211 margin: '0, 10, 5, 5',
211 labelWidth: 50, 212 labelWidth: 50,
212 width: '40%', 213 width: '40%',
213 name: 'probenintervall' 214 name: 'probenintervall'
214 }, { 215 }, {
215 xtype: 'numberfield', 216 xtype: 'numfield',
217 allowDecimals: false,
216 fieldLabel: i18n.getMsg('teilintervallVon'), 218 fieldLabel: i18n.getMsg('teilintervallVon'),
217 margin: '0, 10, 5, 10', 219 margin: '0, 10, 5, 10',
218 labelWidth: 90, 220 labelWidth: 90,
219 width: '28%', 221 width: '28%',
220 name: 'teilintervallVon', 222 name: 'teilintervallVon',
221 period: 'start' 223 period: 'start'
222 }, { 224 }, {
223 xtype: 'numberfield', 225 xtype: 'numfield',
226 allowDecimals: false,
224 fieldLabel: i18n.getMsg('teilintervallBis'), 227 fieldLabel: i18n.getMsg('teilintervallBis'),
225 margin: '0, 15, 5, 5', 228 margin: '0, 15, 5, 5',
226 labelWidth: 18, 229 labelWidth: 18,
227 width: '15%', 230 width: '15%',
228 name: 'teilintervallBis', 231 name: 'teilintervallBis',
229 period: 'end' 232 period: 'end'
230 }, { 233 }, {
231 xtype: 'numberfield', 234 xtype: 'numfield',
235 allowDecimals: false,
232 margin: '0, 10, 5, 5', 236 margin: '0, 10, 5, 5',
233 fieldLabel: i18n.getMsg('offset'), 237 fieldLabel: i18n.getMsg('offset'),
234 labelWidth: 45, 238 labelWidth: 45,
235 width: '17%', 239 width: '17%',
236 name: 'intervallOffset' 240 name: 'intervallOffset'
614 this.down('cbox[name=datenbasisId]').clearWarningOrError(); 618 this.down('cbox[name=datenbasisId]').clearWarningOrError();
615 this.down('cbox[name=baId]').clearWarningOrError(); 619 this.down('cbox[name=baId]').clearWarningOrError();
616 this.down('chkbox[name=test]').clearWarningOrError(); 620 this.down('chkbox[name=test]').clearWarningOrError();
617 this.down('cbox[name=probenartId]').clearWarningOrError(); 621 this.down('cbox[name=probenartId]').clearWarningOrError();
618 this.down('cbox[name=netzbetreiberId]').clearWarningOrError(); 622 this.down('cbox[name=netzbetreiberId]').clearWarningOrError();
623 // clear messages in intervall definition
624 this.down('fset[name=probenIntervallFieldset]').clearMessages();
625 this.down('cbox[name=probenintervall]').clearWarningOrError();
626 this.down('fset[name=gueltigPeriodFieldset]').clearMessages();
627 this.down('numfield[name=teilintervallVon]').clearWarningOrError();
628 this.down('numfield[name=teilintervallBis]').clearWarningOrError();
629 this.down('datetime[name=gueltigVon]').clearWarningOrError();
630 this.down('datetime[name=gueltigBis]').clearWarningOrError();
619 //no clear for probeNehmerId 631 //no clear for probeNehmerId
620 // Deskriptoren are missing 632 // Deskriptoren are missing
621 this.down('cbox[name=umwId]').clearWarningOrError(); 633 this.down('cbox[name=umwId]').clearWarningOrError();
622 this.down('fset[name=gueltigPeriodFieldset]').clearMessages(); 634 this.down('cbox[name=ortId]').clearWarningOrError();
623 this.down('fset[name=probenIntervallFieldset]').clearMessages();
624 }, 635 },
625 636
626 setReadOnly: function(value) { 637 setReadOnly: function(value) {
627 // TODO 638 // TODO
628 }, 639 },

http://lada.wald.intevation.org