view app/store/Verwaltungseinheiten.js @ 209:a9a7d8abc45e

Set maxlength of NPR to 10
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 12 Jul 2013 10:57:26 +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