Mercurial > lada > lada-client
annotate app/store/Mst.js @ 102:804864f6274c
Added static Orte list
author | Torsten Irländer <torsten@irlaender.de> |
---|---|
date | Mon, 17 Jun 2013 13:25:14 +0200 |
parents | ab067fdb91b5 |
children |
rev | line source |
---|---|
35
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.store.Mst', { |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.data.Store', |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 fields: ['mstId'], |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 proxy: { |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 type: 'ajax', |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 api: { |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 read: 'server/rest/mst' |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 }, |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
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:
35
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:
35
diff
changeset
|
11 root: 'data' |
35
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 } |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 } |
3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 }); |