comparison app/model/OrtszuordnungTyp.js @ 1338:d2f06ce4d43a

Use service and widget instead of local store for OrtszuordnungTyp.
author Tom Gottfried <tom@intevation.de>
date Fri, 03 Feb 2017 18:01:25 +0100
parents
children
comparison
equal deleted inserted replaced
1337:7194964183f4 1338:d2f06ce4d43a
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 * Model for OrtsZusatz Stammdaten.
11 */
12 Ext.define('Lada.model.OrtszuordnungTyp', {
13 extend: 'Ext.data.Model',
14
15 /**
16 * Fields are:
17 * - id: The unique identifier (Primary key).
18 * - ortstyp: The long description.
19 */
20 fields: [{
21 name: 'id'
22 }, {
23 name: 'ortstyp'
24 }],
25
26 idProperty: 'id',
27
28 proxy: {
29 type: 'rest',
30 url: 'lada-server/rest/ortszuordnungtyp',
31 reader: {
32 type: 'json',
33 root: 'data'
34 }
35 }
36 });

http://lada.wald.intevation.org