annotate app/store/Probenart.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 ab067fdb91b5
children
rev   line source
40
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.store.Probenart', {
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Ext.data.Store',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 fields: ['probenartId', 'beschreibung', 'probenart', 'probenartEudfId'],
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 autoLoad: true,
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 proxy: {
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 type: 'ajax',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 api: {
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 read: 'server/rest/probenart'
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 },
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 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: 40
diff changeset
11 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: 40
diff changeset
12 root: 'data'
40
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 }
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 }
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 });
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16

http://lada.wald.intevation.org