comparison app/model/Deskriptor.js @ 769:274a843caf44

Added model and store for deskriptoren.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 12 May 2015 15:10:52 +0200
parents
children f73ca04d73a7
comparison
equal deleted inserted replaced
768:380edfecac67 769:274a843caf44
1 /**
2 *
3 */
4 Ext.define('Lada.model.Deskriptor', {
5 extend: 'Ext.data.Model',
6
7 /**
8 * Fields are:
9 * - ...
10 */
11 fields: [{
12 name: 'bedeutung'
13 }, {
14 name: 'beschreibung'
15 }, {
16 name: 'ebene'
17 }, {
18 name: 'id'
19 }, {
20 name: 'sn'
21 }, {
22 name: 'sXx'
23 }],
24
25 idProperty: 'id',
26
27 proxy: {
28 type: 'rest',
29 url: 'lada-server/deskriptor',
30 reader: {
31 type: 'json',
32 root: 'data',
33 totalProperty: 'totalCount'
34 }
35 }
36 });

http://lada.wald.intevation.org