torsten@53: Ext.define('Lada.model.Kommentar', { torsten@53: extend: 'Ext.data.Model', torsten@53: fields: [ torsten@53: {name: "id"}, torsten@53: {name: "probeId"}, torsten@53: {name: "erzeuger"}, torsten@53: {name: "kdatum"}, torsten@53: {name: "ktext"} torsten@53: ], torsten@53: proxy: { torsten@53: type: 'rest', torsten@53: appendId: true, //default torsten@53: url: 'server/rest/kommentare', torsten@53: api: { torsten@53: }, torsten@53: reader: { torsten@53: type: 'json' torsten@53: } torsten@53: } torsten@53: });