comparison app/model/ProbeList.js @ 488:f7446ebfe5d0

Added and updated models.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:10:35 +0100
parents debfcc7713e3
children 850ccfe5f3c4
comparison
equal deleted inserted replaced
487:a05cbc6e63cb 488:f7446ebfe5d0
13 Ext.define('Lada.model.ProbeList', { 13 Ext.define('Lada.model.ProbeList', {
14 extend: 'Lada.model.Base', 14 extend: 'Lada.model.Base',
15 fields: [ 15 fields: [
16 {name: "readonly"} 16 {name: "readonly"}
17 ], 17 ],
18 idProperty: "probeId", 18 idProperty: "id",
19 proxy: { 19 proxy: {
20 type: 'rest', 20 type: 'rest',
21 appendId: true, //default 21 url: 'server/rest/probe',
22 url: 'server/rest/proben',
23 reader: { 22 reader: {
24 type: 'json', 23 type: 'json',
25 root: 'data' 24 root: 'data'
26 } 25 }
27 } 26 }

http://lada.wald.intevation.org