view app/model/Probenzusatzwert.js @ 197:748614e867b1

Added messwerte controller to be able to add, edit and delete messwerte.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 16:12:34 +0200
parents a7bfaeb1655d
children 2af694c73dd7
line wrap: on
line source
Ext.define('Lada.model.Probenzusatzwert', {
    extend: 'Ext.data.Model',
    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