view app/store/Verwaltungseinheiten.js @ 184:cfa4ed3b62b5

Show search on app startup.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 05 Jul 2013 11:18:43 +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