Mercurial > lada > lada-client
view 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 |
line wrap: on
line source
Ext.define('Lada.model.Probenzusatzwert', { extend: 'Ext.data.Model', fields: [ {name: "pzsId"}, {name: "mehId"}, {name: "beschreibung"}, {name: "zusatzwert"}, {name: "eudfKeyword"} ], idProperty: "pzsId", proxy: { type: 'rest', appendId: true, //default url: 'server/rest/probenzusatz', autoload: true, reader: { type: 'json', root: 'data' } } });