Mercurial > lada > lada-client
view app/model/ProbeList.js @ 385:08bb418f31c9
Use 'this' reference for idProperty in model.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 30 Aug 2013 10:29:39 +0200 |
parents | 832e3c8f9191 |
children | debfcc7713e3 |
line wrap: on
line source
/** * A ProbeList. * This class represents the result list of "Proben" in the search query * */ Ext.define('Lada.model.ProbeList', { extend: 'Lada.model.Base', fields: [ {name: "readonly"} ], idProperty: "probeId", proxy: { type: 'rest', appendId: true, //default url: 'server/rest/proben', reader: { type: 'json', root: 'data' } } });