annotate app/store/StatusWerte.js @ 945:023e622f9551

Added the ability to work with "StatusWerten" which are delivered by the lada-server. To enable the uses of StatusWerte, the controller for the status grid, needed to be extended. In addition, the form and grid views of Messung and Status were updated.
author Dustin Demuth <dustin@intevation.de>
date Tue, 27 Oct 2015 16:46:58 +0100
parents ad24af3fcf89
children 6a6f2c6fe8ee
rev   line source
799
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
3 *
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
7 */
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
8
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
9 /**
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
10 * Store for Status-Werte
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
11 */
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.store.StatusWerte', {
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
13 extend: 'Ext.data.Store',
945
023e622f9551 Added the ability to work with "StatusWerten" which are delivered by the lada-server.
Dustin Demuth <dustin@intevation.de>
parents: 799
diff changeset
14 model: 'Lada.model.StatusWerte',
023e622f9551 Added the ability to work with "StatusWerten" which are delivered by the lada-server.
Dustin Demuth <dustin@intevation.de>
parents: 799
diff changeset
15 autoLoad: true,
023e622f9551 Added the ability to work with "StatusWerten" which are delivered by the lada-server.
Dustin Demuth <dustin@intevation.de>
parents: 799
diff changeset
16 storeId: 'StatusWerte'
799
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
17 });

http://lada.wald.intevation.org