annotate app/store/StaVerwaltungseinheiten.js @ 512:8818becb8cde

Probe and Messung window are now maximizable and collapsible.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 16 Dec 2014 13:17:24 +0100
parents 850ccfe5f3c4
children
rev   line source
489
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 *
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 */
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 /**
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 * Store for Verwaltungseinheiten
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 */
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.store.StaVerwaltungseinheiten', {
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 extend: 'Ext.data.Store',
491
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 489
diff changeset
14 model: 'Lada.model.StaVerwaltungseinheit',
489
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
15 sorters: [{
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
16 property: 'bezeichnung'
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
17 }],
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
18 autoLoad: true,
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 proxy: {
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
20 type: 'rest',
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
21 url: 'server/rest/sta_verwaltungseinheit',
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
22 reader: {
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
23 type: 'json',
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
24 root: 'data'
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
25 }
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
26 }
6056a7fd9aa2 Added and updated stores.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
27 });

http://lada.wald.intevation.org