annotate app/store/Proben.js @ 24:72778ac34dbb

Do not autoload the data from the server. Only load an request.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 07 May 2013 17:20:11 +0200
parents 764a0aef0f56
children f964a50bfe57
rev   line source
13
a8efc4b96888 Added model for Proben and a Store.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.store.Proben', {
a8efc4b96888 Added model for Proben and a Store.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Ext.data.Store',
a8efc4b96888 Added model for Proben and a Store.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 model: 'Lada.model.Probe',
14
c0b2faa47ee5 Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 13
diff changeset
4 proxy: {
c0b2faa47ee5 Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 13
diff changeset
5 type: 'ajax',
18
9e1a40312bbe Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 14
diff changeset
6 api: {
24
72778ac34dbb Do not autoload the data from the server. Only load an request.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 20
diff changeset
7 read: 'server/rest/proben'
18
9e1a40312bbe Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 14
diff changeset
8 },
14
c0b2faa47ee5 Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 13
diff changeset
9 reader: {
c0b2faa47ee5 Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 13
diff changeset
10 type: 'json',
20
764a0aef0f56 Remove Field configuration. Field are configured in the model.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 18
diff changeset
11 contentType: "application/json; charset=utf-8;"
14
c0b2faa47ee5 Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 13
diff changeset
12 }
c0b2faa47ee5 Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 13
diff changeset
13 }
13
a8efc4b96888 Added model for Proben and a Store.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 });

http://lada.wald.intevation.org