Mercurial > lada > lada-client
view app/model/Kommentar.js @ 71:db26aeebe521
Added new Form for editing proben. Use this form in the edit window.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 05 Jun 2013 16:20:54 +0200 |
parents | 2d6c4f4c9b11 |
children | 8356595f4fdb |
line wrap: on
line source
Ext.define('Lada.model.Kommentar', { extend: 'Ext.data.Model', fields: [ {name: "id"}, {name: "kid"}, {name: "probeId"}, {name: "erzeuger"}, {name: "kdatum"}, {name: "ktext"} ], // TODO: This id field is currently a combined field of probeId and kid // which cases problems when generating a request with this id to the // server. idProperty: "id", proxy: { type: 'rest', appendId: true, //default url: 'server/rest/kommentare', reader: { type: 'json' } } });