Mercurial > lada > lada-client
annotate app/store/MessprogrammQueries.js @ 749:78e73be45aaa
Change store on radiobutton change for proben and messprogramm.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 28 Apr 2015 10:57:50 +0200 |
parents | 344330d3d1cd |
children | 704bb359c0fe |
rev | line source |
---|---|
748
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 * Software engineering by Intevation GmbH |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 * |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 */ |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 /** |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
10 * Store for Queries |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 */ |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 Ext.define('Lada.store.MessprogrammQueries', { |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 extend: 'Ext.data.Store', |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
14 model: 'Lada.model.Query', |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 proxy: { |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
16 type: 'rest', |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
17 url: 'lada-server/query/messprogramm', |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
18 reader: { |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
19 type: 'json', |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 root: 'data' |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 } |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
22 }, |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
23 autoLoad: true |
344330d3d1cd
Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
24 }); |