Mercurial > lada > lada-client
view app/model/Staat.js @ 307:5f373d9d55cd
Use ts2date function from lib.Helpers. Remove old code
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 09 Aug 2013 15:24:00 +0200 |
parents | e9fb4814153a |
children | dd939a09e4dd |
line wrap: on
line source
Ext.define('Lada.model.Staat', { extend: 'Ext.data.Model', requires: ['Lada.lib.Helpers'], 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' } } });