comparison app/model/ProbeList.js @ 374:832e3c8f9191

Implemented dynamic ProbelList model. The model will get initialized by the fields configured in the sql configuration.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 20 Aug 2013 16:50:47 +0200
parents
children debfcc7713e3
comparison
equal deleted inserted replaced
373:9b663418b614 374:832e3c8f9191
1 /**
2 * A ProbeList.
3 * This class represents the result list of "Proben" in the search query
4 * */
5 Ext.define('Lada.model.ProbeList', {
6 extend: 'Lada.model.Base',
7 fields: [
8 {name: "readonly"}
9 ],
10 idProperty: "probeId",
11 proxy: {
12 type: 'rest',
13 appendId: true, //default
14 url: 'server/rest/proben',
15 reader: {
16 type: 'json',
17 root: 'data'
18 }
19 }
20 });

http://lada.wald.intevation.org