view app/store/Proben.js @ 20:764a0aef0f56

Remove Field configuration. Field are configured in the model.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 07 May 2013 16:27:40 +0200
parents 9e1a40312bbe
children 72778ac34dbb
line wrap: on
line source
Ext.define('Lada.store.Proben', {
    extend: 'Ext.data.Store',
    model: 'Lada.model.Probe',
    autoLoad: true,
    proxy: {
        type: 'ajax',
        api: {
            read: 'server/rest/proben',
            //read: 'data/proben.json',
            update: 'data/proben2.json'
        },
        reader: {
            type: 'json',
            contentType: "application/json; charset=utf-8;"
        }
    }
});

http://lada.wald.intevation.org