comparison app/model/MessungList.js @ 1076:e32c10cf5499

Added model/store, view and controller for messung list.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 08 Apr 2016 19:32:02 +0200
parents
children
comparison
equal deleted inserted replaced
1075:d23427c68285 1076:e32c10cf5499
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 MessungList.
11 * This class represents the result list of 'Messungen' in the search query
12 * */
13 Ext.define('Lada.model.MessungList', {
14 extend: 'Ext.data.Model',
15
16 fields: [{
17 name: 'readonly'
18 }, {
19 name: 'owner'
20 }],
21
22 idProperty: 'id',
23
24 proxy: {
25 type: 'rest',
26 url: 'lada-server/rest/messung',
27 reader: {
28 type: 'json',
29 root: 'data',
30 totalProperty: 'totalCount'
31 }
32 }
33 });

http://lada.wald.intevation.org