annotate app/model/StatusWerte.js @ 1150:80e7eb414fc8

Added tag 2.3.0 for changeset 860f03b39a83
author Tom Gottfried <tom@intevation.de>
date Thu, 02 Jun 2016 11:31:24 +0200
parents f73ca04d73a7
children
rev   line source
946
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
3 *
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
7 */
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
8
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
9 /**
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
10 * Model class for StatusWerte
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
11 */
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.model.StatusWerte', {
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
13 extend: 'Ext.data.Model',
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
14
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
15 fields: [{
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
16 name: 'id'
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
17 }, {
956
45c67a784b31 Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents: 946
diff changeset
18 name: 'wert',
45c67a784b31 Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents: 946
diff changeset
19 type: 'string'
946
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
20 }],
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
21
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
22 idProperty: 'id',
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
23
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
24 proxy: {
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
25 type: 'rest',
999
f73ca04d73a7 Refactored Server URL
Dustin Demuth <dustin@intevation.de>
parents: 956
diff changeset
26 url: 'lada-server/rest/statuswert',
946
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
27 reader: {
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
28 type: 'json',
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
29 root: 'data'
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
30 }
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
31 }
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
32
71e2acb1cdd6 added StatusWerte Model
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
33 });

http://lada.wald.intevation.org