Mercurial > lada > lada-client
view app/model/Deskriptor.js @ 1102:d91b0e649e8c
Fix OpenLayers installation.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 10 May 2016 17:24:33 +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' } } });