[Lada-commits] [PATCH 02 of 13] Fixed model. Added mapping

Wald Commits scm-commit at wald.intevation.org
Wed Jul 3 16:09:18 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1372851367 -7200
# Node ID f653bd7893c06bcfa1914386d6a8d2534da7277d
# Parent  8e7f890dd6f4e39d5c661931dff95ecd4cdbbe8b
Fixed model. Added mapping.

diff -r 8e7f890dd6f4 -r f653bd7893c0 app/model/Messung.js
--- a/app/model/Messung.js	Wed Jul 03 13:35:50 2013 +0200
+++ b/app/model/Messung.js	Wed Jul 03 13:36:07 2013 +0200
@@ -1,7 +1,8 @@
 Ext.define('Lada.model.Messung', {
     extend: 'Ext.data.Model',
         fields: [
-        {name: "probeId"},
+        {name: "messungsId", mapping:"id.messungsId"},
+        {name: "probeId", mapping:"id.probeId"},
         {name: "mmtId"},
         {name: "nebenprobenNr"},
         {name: "messdauer"},


More information about the Lada-commits mailing list