Mercurial > lada > lada-client
view app/model/Staat.js @ 424:9c44ce52a33c
Fix rendering of the orte list. Some fields was not shown because of wrong
loading of ortedetails
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 08 Nov 2013 09:58:54 +0100 |
parents | e1364948eb01 |
children | debfcc7713e3 |
line wrap: on
line source
/** * Model class for Staat */ Ext.define('Lada.model.Staat', { extend: 'Lada.model.Base', fields: [ {name: "staatId", type: 'int'}, {name: "staat"}, {name: "staatIso"}, {name: "staatKurz"} ], idProperty: "staatId", proxy: { type: 'rest', appendId: true, //default url: 'server/rest/staat', api: { }, reader: { type: 'json', root: 'data' } } });