view app/store/Proben.js @ 22:0a4674f17bcb

Added more fields to the overview and set correct reference in on the edit page.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 07 May 2013 17:09:00 +0200
parents 764a0aef0f56
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