Mercurial > lada > lada-client
annotate app/store/Uwb.js @ 101:551d08623f43
Added static kommentare list
author | Torsten Irländer <torsten@irlaender.de> |
---|---|
date | Mon, 17 Jun 2013 13:24:40 +0200 |
parents | ab067fdb91b5 |
children |
rev | line source |
---|---|
33
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.store.Uwb', { |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.data.Store', |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 fields: ['umwId'], |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 proxy: { |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 type: 'ajax', |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 api: { |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 read: 'server/rest/uwb' |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 }, |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 reader: { |
93
ab067fdb91b5
Set root of the data element to "data". This was needed as the Response of the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
33
diff
changeset
|
10 type: 'json', |
ab067fdb91b5
Set root of the data element to "data". This was needed as the Response of the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
33
diff
changeset
|
11 root: 'data' |
33
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 } |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 } |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 }); |