view app/model/ProbeList.js @ 439:1fc4407c6c83 0.9

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 02 Dec 2013 15:02:53 +0100
parents 832e3c8f9191
children debfcc7713e3
line wrap: on
line source
/**
 * A ProbeList.
 * This class represents the result list of "Proben" in the search query
 * */
Ext.define('Lada.model.ProbeList', {
    extend: 'Lada.model.Base',
    fields: [
        {name: "readonly"}
    ],
    idProperty: "probeId",
    proxy: {
        type: 'rest',
        appendId: true, //default
        url: 'server/rest/proben',
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org