comparison app/model/Messung.js @ 162:5eb0cfac0e30

Added nested id attribute which comes in JSON response to the model as we need it later in the grid view to be able to acess messungsIs and probeId in the custom renderer.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 03 Jul 2013 14:02:35 +0200
parents f653bd7893c0
children c5422819d7b9
comparison
equal deleted inserted replaced
161:0b635b836903 162:5eb0cfac0e30
1 Ext.define('Lada.model.Messung', { 1 Ext.define('Lada.model.Messung', {
2 extend: 'Ext.data.Model', 2 extend: 'Ext.data.Model',
3 fields: [ 3 fields: [
4 {name: "id"},
4 {name: "messungsId", mapping:"id.messungsId"}, 5 {name: "messungsId", mapping:"id.messungsId"},
5 {name: "probeId", mapping:"id.probeId"}, 6 {name: "probeId", mapping:"id.probeId"},
6 {name: "mmtId"}, 7 {name: "mmtId"},
7 {name: "nebenprobenNr"}, 8 {name: "nebenprobenNr"},
8 {name: "messdauer"}, 9 {name: "messdauer"},

http://lada.wald.intevation.org