Mercurial > lada > lada-client
comparison app/view/widget/Datenbasis.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 |
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.datenbasis', | 14 alias: 'widget.datenbasis', |
15 store: 'Datenbasis', | 15 store: 'Datenbasis', |
16 displayField: 'datenbasis', | 16 displayField: 'datenbasis', |
17 valueField: 'id', | 17 valueField: 'id', |
18 emptyText: 'Wählen Sie eine Datenbasis', | |
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 | 22 |
24 initComponent: function() { | 23 initComponent: function() { |
24 var i18n = Lada.getApplication().bundle; | |
25 this.emptyText = i18n.getMsg('emptytext.datenbasis'); | |
26 | |
25 this.store = Ext.data.StoreManager.get('datenbasis'); | 27 this.store = Ext.data.StoreManager.get('datenbasis'); |
26 if (!this.store) { | 28 if (!this.store) { |
27 this.store = Ext.create('Lada.store.Datenbasis'); | 29 this.store = Ext.create('Lada.store.Datenbasis'); |
28 } | 30 } |
29 else { | 31 else { |