view app/store/Staaten.js @ 185:df5dcdff7b69

Enabled readonly mode
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 05 Jul 2013 11:19:13 +0200
parents e9fb4814153a
children 70a1b5962930
line wrap: on
line source
Ext.define('Lada.store.Staaten', {
    extend: 'Ext.data.Store',
    model: 'Lada.model.Staat',
    autoLoad: true,
    proxy: {
        type: 'ajax',
        api: {
        read: 'server/rest/staat'
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org