comparison app/view/widget/Probenart.js @ 754:6b0d0e62f7d7

added Probenintervalle to a Messprogramm... there is still a lot of work needed. For instance for the slider element.
author Dustin Demuth <dustin@intevation.de>
date Tue, 05 May 2015 17:22:38 +0200
parents 2e8da590ea0c
children 1321efe444f0
comparison
equal deleted inserted replaced
753:4dd0c645ea8b 754:6b0d0e62f7d7
13 extend: 'Lada.view.widget.base.ComboBox', 13 extend: 'Lada.view.widget.base.ComboBox',
14 alias: 'widget.probenart', 14 alias: 'widget.probenart',
15 store: 'Probenarten', 15 store: 'Probenarten',
16 displayField: 'probenart', 16 displayField: 'probenart',
17 valueField: 'id', 17 valueField: 'id',
18 emptyText: 'Wählen Sie eine Probenart',
19 // Enable filtering of comboboxes 18 // Enable filtering of comboboxes
20 queryMode: 'local', 19 queryMode: 'local',
21 triggerAction: 'all', 20 triggerAction: 'all',
22 typeAhead: false, 21 typeAhead: false,
23 minChars: 0, 22 minChars: 0,
24 23
25 initComponent: function() { 24 initComponent: function() {
25 var i18n = Lada.getApplication().bundle;
26 this.emptyText = i18n.getMsg('emptytext.probenart');
27
26 this.store = Ext.data.StoreManager.get('probenarten'); 28 this.store = Ext.data.StoreManager.get('probenarten');
27 if (!this.store) { 29 if (!this.store) {
28 this.store = Ext.create('Lada.store.Probenarten'); 30 this.store = Ext.create('Lada.store.Probenarten');
29 } 31 }
30 else { 32 else {

http://lada.wald.intevation.org