view app/model/ProbeList.js @ 467:fa2a7a37a248

Set versions in about dialog to 1.0 for client and server.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 14 Jan 2014 12:28:49 +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