Mercurial > lada > lada-client
view app/model/Kommentar.js @ 54:3c7bfff8bd64
Added Controller for kommentare
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 28 May 2013 11:20:24 +0200 |
parents | 73bc17de6ff2 |
children | 982f3130e7f3 |
line wrap: on
line source
Ext.define('Lada.model.Kommentar', { extend: 'Ext.data.Model', fields: [ {name: "id"}, {name: "probeId"}, {name: "erzeuger"}, {name: "kdatum"}, {name: "ktext"} ], proxy: { type: 'rest', appendId: true, //default url: 'server/rest/kommentare', api: { }, reader: { type: 'json' } } });