view 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
line wrap: on
line source
Ext.define('Lada.store.Proben', {
    extend: 'Ext.data.Store',
    model: 'Lada.model.Probe',
    proxy: {
        type: 'ajax',
        api: {
            read: 'server/rest/proben'
        },
        reader: {
            type: 'json',
            contentType: "application/json; charset=utf-8;"
        }
    }
});

http://lada.wald.intevation.org