comparison app/store/StaVerwaltungseinheiten.js @ 489:6056a7fd9aa2

Added and updated stores.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:11:25 +0100
parents
children 850ccfe5f3c4
comparison
equal deleted inserted replaced
488:f7446ebfe5d0 489:6056a7fd9aa2
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 * Store for Verwaltungseinheiten
11 */
12 Ext.define('Lada.store.StaVerwaltungseinheiten', {
13 extend: 'Ext.data.Store',
14 fields: ['gemId', 'bezeichnung', 'longitude', 'latitude'],
15 sorters: [{
16 property: 'bezeichnung'
17 }],
18 autoLoad: true,
19 proxy: {
20 type: 'rest',
21 url: 'server/rest/sta_verwaltungseinheit',
22 reader: {
23 type: 'json',
24 root: 'data'
25 }
26 }
27 });

http://lada.wald.intevation.org