torsten@13: Ext.define('Lada.store.Proben', { torsten@13: extend: 'Ext.data.Store', torsten@13: model: 'Lada.model.Probe', torsten@14: autoLoad: true, torsten@14: proxy: { torsten@14: type: 'ajax', torsten@18: api: { torsten@20: read: 'server/rest/proben', torsten@20: //read: 'data/proben.json', torsten@18: update: 'data/proben2.json' torsten@18: }, torsten@14: reader: { torsten@14: type: 'json', torsten@20: contentType: "application/json; charset=utf-8;" torsten@14: } torsten@14: } torsten@13: }); torsten@13: