comparison app/model/Probe.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 1907f405eb93
children dcb40a53ade2
comparison
equal deleted inserted replaced
133:819bfedb70de 134:1620d02d2973
26 {name: "solldatumBeginn", type: 'date', convert: ts2date, defaultValue: new Date()}, 26 {name: "solldatumBeginn", type: 'date', convert: ts2date, defaultValue: new Date()},
27 {name: "solldatumEnde", type: 'date', convert: ts2date, defaultValue: new Date()}, 27 {name: "solldatumEnde", type: 'date', convert: ts2date, defaultValue: new Date()},
28 {name: "test"}, 28 {name: "test"},
29 {name: "umwId"} 29 {name: "umwId"}
30 ], 30 ],
31 idProperty: "probeId",
31 proxy: { 32 proxy: {
32 type: 'rest', 33 type: 'rest',
33 appendId: true, //default 34 appendId: true, //default
34 url: 'server/rest/proben', 35 url: 'server/rest/proben',
35 reader: { 36 reader: {

http://lada.wald.intevation.org