Mercurial > lada > lada-client
annotate app/store/Messgroessen.js @ 197:748614e867b1
Added messwerte controller to be able to add, edit and delete messwerte.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 08 Jul 2013 16:12:34 +0200 |
parents | 23f74ae3bb87 |
children | 70a1b5962930 |
rev | line source |
---|---|
182
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.store.Messgroessen', { |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.data.Store', |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 fields: ['messgroesseId', 'messgro0esse'], |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 autoLoad: true, |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 proxy: { |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 type: 'ajax', |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 api: { |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 read: 'server/rest/messgroesse' |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 }, |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 reader: { |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 type: 'json', |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 root: 'data' |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 } |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 } |
23f74ae3bb87
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 }); |