view app/model/ProbeList.js @ 433:f894b9ab99fa

Added tag 0.9 for changeset f4185f2d1a7c
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 08 Nov 2013 12:55:35 +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