Mercurial > lada > lada-client
annotate app/store/Uwb.js @ 53:73bc17de6ff2
Added store, view and model for kommentare. Load kommentare when opening a probe.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 28 May 2013 10:58:47 +0200 |
parents | a35119566841 |
children | ab067fdb91b5 |
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: { |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 type: 'json' |
a35119566841
Fetch UWB dynamically.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 } |
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 }); |