diff app/view/widgets/Uwb.js @ 33:a35119566841

Fetch UWB dynamically.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 22 May 2013 14:22:46 +0200
parents 897e3100c6da
children 19eab475bbe5
line wrap: on
line diff
--- a/app/view/widgets/Uwb.js	Tue May 21 17:55:15 2013 +0200
+++ b/app/view/widgets/Uwb.js	Wed May 22 14:22:46 2013 +0200
@@ -2,10 +2,10 @@
 Ext.define('Lada.view.widgets.Uwb' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.uwb',
-        store: 'Sql',
-        displayField:'name',
-        valueField: 'id',
-        emptyText:'Wählen Sie eine Abfrage',
+        store: 'Uwb',
+        displayField:'umwId',
+        valueField: 'umwId',
+        emptyText:'Wählen Sie einen Umweltbereich',
     initComponent: function() {
         this.callParent(arguments);
     }

http://lada.wald.intevation.org