Mercurial > lada > lada-client
comparison app/store/StammdatenQueries.js @ 1007:23bfcbdb4527
merged.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 20 Jan 2016 17:33:33 +0100 |
parents | f73ca04d73a7 |
children |
comparison
equal
deleted
inserted
replaced
1002:54179b6043b6 | 1007:23bfcbdb4527 |
---|---|
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 Queries for Stammdaten | |
11 */ | |
12 Ext.define('Lada.store.StammdatenQueries', { | |
13 extend: 'Ext.data.Store', | |
14 model: 'Lada.model.Query', | |
15 autoLoad: true, | |
16 /* data: { data: [ | |
17 {id: '0', name: 'MessprogrammKategorie', type: 'MessprogrammKategorie', sql: 'bogus', description: 'bogusBeschr', filters: []}, | |
18 {id: '1', name: 'DatensatzErzeuger', type: 'DatensatzErzeuger', sql: 'bogus', description: 'bogusBeschr', filters: []} | |
19 ]},*/ | |
20 proxy: { | |
21 type: 'rest', | |
22 url: 'lada-server/rest/query/stammdaten', | |
23 reader: { | |
24 type: 'json', | |
25 root: 'data' | |
26 } | |
27 } | |
28 }); | |
29 |