view app/model/Probenzusatzwert.js @ 432:f4185f2d1a7c

Only load verwaltungseinheit if there is a selected ort.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 08 Nov 2013 12:54:48 +0100
parents 24341cbed778
children debfcc7713e3
line wrap: on
line source
/**
 * Model class for Probenzusatzwert
 */
Ext.define('Lada.model.Probenzusatzwert', {
    extend: 'Lada.model.Base',
    fields: [
        {name: "pzsId"},
        {name: "mehId"},
        {name: "beschreibung"},
        {name: "zusatzwert"},
        {name: "eudfKeyword"}
    ],
    idProperty: "pzsId",
    proxy: {
        type: 'rest',
        appendId: true, //default
        url: 'server/rest/probenzusatz',
        autoload: true,
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org