Mercurial > lada > lada-client
comparison app/model/ProbeList.js @ 548:d47ee7439f44
Added new js files.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 06 Mar 2015 12:43:52 +0100 |
parents | |
children | 0c1a9d7dd1e9 |
comparison
equal
deleted
inserted
replaced
547:f172b35a3b92 | 548:d47ee7439f44 |
---|---|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out | |
6 * the documentation coming with IMIS-Labordaten-Application for details. | |
7 */ | |
8 | |
9 /** | |
10 * A ProbeList. | |
11 * This class represents the result list of 'Proben' in the search query | |
12 * */ | |
13 Ext.define('Lada.model.ProbeList', { | |
14 extend: 'Ext.data.Model', | |
15 | |
16 fields: [{ | |
17 name: 'readonly' | |
18 }], | |
19 | |
20 idProperty: 'id', | |
21 | |
22 proxy: { | |
23 type: 'rest', | |
24 url: 'lada-server/probe', | |
25 reader: { | |
26 type: 'json', | |
27 root: 'data' | |
28 } | |
29 } | |
30 }); |