comparison app/model/Probenzusatzwert.js @ 122:a7bfaeb1655d

Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 16:56:17 +0200
parents
children 2af694c73dd7
comparison
equal deleted inserted replaced
121:c05fda928b82 122:a7bfaeb1655d
1 Ext.define('Lada.model.Probenzusatzwert', {
2 extend: 'Ext.data.Model',
3 fields: [
4 {name: "pzsId"},
5 {name: "mehId"},
6 {name: "beschreibung"},
7 {name: "zusatzwert"},
8 {name: "eudfKeyword"}
9 ],
10 idProperty: "pzsId",
11 proxy: {
12 type: 'rest',
13 appendId: true, //default
14 url: 'server/rest/probenzusatz',
15 autoload: true,
16 reader: {
17 type: 'json',
18 root: 'data'
19 }
20 }
21 });

http://lada.wald.intevation.org