Mercurial > lada > lada-client
annotate app/store/Betriebsart.js @ 115:fe4a1ee15418
Added conversion of datefield.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 20 Jun 2013 12:34:26 +0200 |
parents | 39f5f1529847 |
children |
rev | line source |
---|---|
46
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.store.Betriebsart', { |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.data.Store', |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 fields: ['betriebsartId', 'betriebsart'], |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 autoLoad: true, |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 // This might be implemented later. Table in database is missing. |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 //proxy: { |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 // type: 'ajax', |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 // api: { |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 // read: 'server/rest/probenart' |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 // }, |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 // reader: { |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 // type: 'json' |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 // } |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 //} |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 data: [ |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 {"betriebsartId":"1", "betriebsart":"Normal-/Routinebtrieb"}, |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
17 {"betriebsartId":"2", "betriebsart":"Störfall/Intensivbetrieb"} |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 ] |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
19 }); |
39f5f1529847
Added combotbox for Betriebsart.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
20 |