diff app/store/Probenart.js @ 40:f9b6de636ad0

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

http://lada.wald.intevation.org