comparison app/view/form/Ortszuordnung.js @ 1153:9486001a01ca

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 02 Jun 2016 17:32:59 +0200
parents 1cf5280bbc45
children 3e9a37ca9ae9
comparison
equal deleted inserted replaced
1152:7b3ddb7e9641 1153:9486001a01ca
77 labelWidth: 125, 77 labelWidth: 125,
78 maxLength: 100, 78 maxLength: 100,
79 name: 'ortszusatztext', 79 name: 'ortszusatztext',
80 fieldLabel: i18n.getMsg('ortszuordnung.form.field.ortszusatztext') 80 fieldLabel: i18n.getMsg('ortszuordnung.form.field.ortszusatztext')
81 }, { 81 }, {
82 xtype: 'tfield', 82 xtype: 'textfield',
83 labelWidth: 125, 83 labelWidth: 125,
84 maxLength: 1, 84 maxLength: 1,
85 allowBlank: false, 85 allowBlank: false,
86 regex: /[U,E,Z,A]/, 86 regex: /[UEZA]/,
87 activeError: 'U, E, Z oder A eingeben',
87 name: 'ortszuordnungTyp', 88 name: 'ortszuordnungTyp',
88 fieldLabel: i18n.getMsg('ortszuordnung.form.field.ortszuordnungtyp') 89 fieldLabel: i18n.getMsg('ortszuordnung.form.field.ortszuordnungtyp')
89 }, { 90 }, {
90 xtype: 'textfield', 91 xtype: 'textfield',
91 submitValue: true, 92 submitValue: true,
217 } 218 }
218 }, 219 },
219 220
220 clearMessages: function() { 221 clearMessages: function() {
221 this.down('tfield[name=ortszusatztext]').clearWarningOrError(); 222 this.down('tfield[name=ortszusatztext]').clearWarningOrError();
222 this.down('tfield[name=ortszuordnungTyp]').clearWarningOrError();
223 }, 223 },
224 224
225 setReadOnly: function(value) { 225 setReadOnly: function(value) {
226 this.down('tfield[name=ortszusatztext]').setReadOnly(value); 226 this.down('tfield[name=ortszusatztext]').setReadOnly(value);
227 this.down('tfield[name=ortszuordnungTyp]').setReadOnly(value); 227 this.down('textfield[name=ortszuordnungTyp]').setReadOnly(value);
228 } 228 }
229 }); 229 });
230 230

http://lada.wald.intevation.org