view app/store/Verwaltungseinheiten.js @ 215:19d79b41f95d

Fixed issue22
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 15 Jul 2013 15:30:42 +0200
parents e9fb4814153a
children 70a1b5962930
line wrap: on
line source
Ext.define('Lada.store.Verwaltungseinheiten', {
    extend: 'Ext.data.Store',
    fields: ['gemId', 'bezeichnung'],
    autoLoad: true,
    proxy: {
        type: 'ajax',
        api: {
        read: 'server/rest/verwaltungseinheit'
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org