view app/model/Deskriptor.js @ 1157:056ffbc2790a

Add more missing requirements.
author Tom Gottfried <tom@intevation.de>
date Tue, 07 Jun 2016 17:49:31 +0200
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