diff app/view/widgets/Mst.js @ 35:3f801444b8d5

Added store for Messstelle. Fill Messstellen widget on search page dynamically.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 23 May 2013 16:09:05 +0200
parents 897e3100c6da
children 84f32c62670f
line wrap: on
line diff
--- a/app/view/widgets/Mst.js	Thu May 23 16:02:00 2013 +0200
+++ b/app/view/widgets/Mst.js	Thu May 23 16:09:05 2013 +0200
@@ -2,9 +2,9 @@
 Ext.define('Lada.view.widgets.Mst' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.mst',
-        store: 'Sql',
-        displayField:'name',
-        valueField: 'id' ,
+        store: 'Mst',
+        displayField:'mstId',
+        valueField: 'mstId' ,
         emptyText:'Wählen Sie eine Messstelle',
     initComponent: function() {
         this.callParent(arguments);

http://lada.wald.intevation.org