view app/store/Messeinheit.js @ 207:62e116cd3e3b

Inheritance of Mkommentare from Kommentare does not work as expected. So write mostly duplicated code for MKommentare.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 09 Jul 2013 15:26:29 +0200
parents 1fb79e16149f
children 70a1b5962930
line wrap: on
line source
Ext.define('Lada.store.Messeinheit', {
    extend: 'Ext.data.Store',
    fields: ['mehId', 'einheit'],
    autoLoad: true,
    proxy: {
        type: 'ajax',
        api: {
        read: 'server/rest/messeinheit'
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org