view app/model/Deskriptor.js @ 1249:979b4b9200a7

Removed reference to the not existing field 'name' in messprogramm.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 10 Nov 2016 14:44:29 +0100
parents f73ca04d73a7
children
line wrap: on
line source
/**
 *
 */
Ext.define('Lada.model.Deskriptor', {
    extend: 'Ext.data.Model',

    /**
     * Fields are:
     *  - ...
     */
    fields: [{
        name: 'bedeutung'
    }, {
        name: 'beschreibung'
    }, {
        name: 'ebene'
    }, {
        name: 'id'
    }, {
        name: 'sn'
    }, {
        name: 'sXx'
    }],

    idProperty: 'id',

    proxy: {
        type: 'rest',
        url: 'lada-server/rest/deskriptor',
        reader: {
            type: 'json',
            root: 'data',
            totalProperty: 'totalCount'
        }
    }
});

http://lada.wald.intevation.org