Mercurial > lada > lada-client
view app/model/Probenzusatzwert.js @ 134:1620d02d2973
Reset idProperty to probeId again as it seems the the submitted data will have
an autogenerated id property "id" in the other case which causes problems on
the server side.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 25 Jun 2013 17:33:56 +0200 |
parents | a7bfaeb1655d |
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' } } });