diff app/store/Datenbasis.js @ 41:a1be7ccd4d0c

Added datenbasis combobox
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 24 May 2013 16:37:54 +0200
parents
children ab067fdb91b5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/store/Datenbasis.js	Fri May 24 16:37:54 2013 +0200
@@ -0,0 +1,14 @@
+Ext.define('Lada.store.Datenbasis', {
+    extend: 'Ext.data.Store',
+    fields: ['datenbasisId', 'beschreibung', 'datenbasis'],
+    proxy: {
+        type: 'ajax',
+        api: {
+        read: 'server/rest/datenbasis'
+        },
+        reader: {
+            type: 'json'
+        }
+    }
+});
+

http://lada.wald.intevation.org