view app/store/Messeinheit.js @ 122:a7bfaeb1655d

Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 16:56:17 +0200
parents 882566d0b8f3
children 1fb79e16149f
line wrap: on
line source
Ext.define('Lada.store.Messeinheit', {
    extend: 'Ext.data.Store',
    fields: ['mehId', 'einheit'],
    proxy: {
        type: 'ajax',
        api: {
        read: 'server/rest/messeinheit'
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org