Mercurial > lada > lada-client
view app/model/Deskriptor.js @ 1317:46093e6f45d2
Use the new stammdaten to display and edit ort attributes.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 03 Feb 2017 13:17:54 +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' } } });