diff app/model/Probenzusatzwert.js @ 488:f7446ebfe5d0

Added and updated models.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:10:35 +0100
parents debfcc7713e3
children 850ccfe5f3c4
line wrap: on
line diff
--- a/app/model/Probenzusatzwert.js	Fri Oct 31 21:07:39 2014 +0100
+++ b/app/model/Probenzusatzwert.js	Fri Oct 31 21:10:35 2014 +0100
@@ -12,17 +12,16 @@
 Ext.define('Lada.model.Probenzusatzwert', {
     extend: 'Lada.model.Base',
     fields: [
-        {name: "pzsId"},
+        {name: "id"},
         {name: "mehId"},
         {name: "beschreibung"},
         {name: "zusatzwert"},
         {name: "eudfKeyword"}
     ],
-    idProperty: "pzsId",
+    idProperty: "id",
     proxy: {
         type: 'rest',
-        appendId: true, //default
-        url: 'server/rest/probenzusatz',
+        url: 'server/rest/sta_probenzusatz',
         autoload: true,
         reader: {
             type: 'json',

http://lada.wald.intevation.org