comparison app/model/Probe.js @ 124:1907f405eb93

Removed id property
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 25 Jun 2013 09:35:40 +0200
parents fe4a1ee15418
children 1620d02d2973
comparison
equal deleted inserted replaced
123:d78bb4ca6089 124:1907f405eb93
1 Ext.define('Lada.model.Probe', { 1 Ext.define('Lada.model.Probe', {
2 extend: 'Ext.data.Model', 2 extend: 'Ext.data.Model',
3 fields: [ 3 fields: [
4 {name: "id", type: "string", convert: buildId},
5 {name: "probeId"}, 4 {name: "probeId"},
6 {name: "baId"}, 5 {name: "baId"},
7 {name: "datenbasisId"}, 6 {name: "datenbasisId"},
8 {name: "erzeugerId"}, 7 {name: "erzeugerId"},
9 {name: "hauptprobenNr"}, 8 {name: "hauptprobenNr"},
27 {name: "solldatumBeginn", type: 'date', convert: ts2date, defaultValue: new Date()}, 26 {name: "solldatumBeginn", type: 'date', convert: ts2date, defaultValue: new Date()},
28 {name: "solldatumEnde", type: 'date', convert: ts2date, defaultValue: new Date()}, 27 {name: "solldatumEnde", type: 'date', convert: ts2date, defaultValue: new Date()},
29 {name: "test"}, 28 {name: "test"},
30 {name: "umwId"} 29 {name: "umwId"}
31 ], 30 ],
32 idProperty: "id",
33 proxy: { 31 proxy: {
34 type: 'rest', 32 type: 'rest',
35 appendId: true, //default 33 appendId: true, //default
36 url: 'server/rest/proben', 34 url: 'server/rest/proben',
37 reader: { 35 reader: {

http://lada.wald.intevation.org