view app/store/Uwb.js @ 50:2fbd53b944fc

Move proxy definition into the model. Else the building of the URL does not work correct.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 27 May 2013 14:58:31 +0200
parents a35119566841
children ab067fdb91b5
line wrap: on
line source
Ext.define('Lada.store.Uwb', {
    extend: 'Ext.data.Store',
    fields: ['umwId'],
    proxy: {
        type: 'ajax',
        api: {
        read: 'server/rest/uwb'
        },
        reader: {
            type: 'json'
        }
    }
});

http://lada.wald.intevation.org