comparison 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
comparison
equal deleted inserted replaced
23:dca4813dd502 24:72778ac34dbb
1 Ext.define('Lada.store.Proben', { 1 Ext.define('Lada.store.Proben', {
2 extend: 'Ext.data.Store', 2 extend: 'Ext.data.Store',
3 model: 'Lada.model.Probe', 3 model: 'Lada.model.Probe',
4 autoLoad: true,
5 proxy: { 4 proxy: {
6 type: 'ajax', 5 type: 'ajax',
7 api: { 6 api: {
8 read: 'server/rest/proben', 7 read: 'server/rest/proben'
9 //read: 'data/proben.json',
10 update: 'data/proben2.json'
11 }, 8 },
12 reader: { 9 reader: {
13 type: 'json', 10 type: 'json',
14 contentType: "application/json; charset=utf-8;" 11 contentType: "application/json; charset=utf-8;"
15 } 12 }
16 } 13 }
17 }); 14 });
18

http://lada.wald.intevation.org