view app/model/ProbeList.js @ 463:e18b170b34bc

Improved Import Dialog.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 09 Jan 2014 11:00:09 +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