Mercurial > lada > lada-client
annotate app/store/Netzbetreiber.js @ 114:189a93e31be9
Worked on Zusatzwerte. No all values are displayed correct in the List and
form. But sending data in correct form does not work yet.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 20 Jun 2013 12:34:09 +0200 |
parents | ab067fdb91b5 |
children |
rev | line source |
---|---|
91
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.store.Netzbetreiber', { |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.data.Store', |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 fields: ['netzbetreiberId', 'netzbetreiber'], |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 proxy: { |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 type: 'ajax', |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 api: { |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 read: 'server/rest/netzbetreiber' |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 }, |
95b08b96f5c9
Added new widget for the netzbetreiber.
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:
91
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:
91
diff
changeset
|
11 root: 'data' |
91
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 } |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 } |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 }); |
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 |