annotate app/store/Datenbasis.js @ 41:a1be7ccd4d0c

Added datenbasis combobox
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 24 May 2013 16:37:54 +0200
parents
children ab067fdb91b5
rev   line source
41
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.store.Datenbasis', {
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Ext.data.Store',
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 fields: ['datenbasisId', 'beschreibung', 'datenbasis'],
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 proxy: {
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 type: 'ajax',
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 api: {
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 read: 'server/rest/datenbasis'
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 },
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 reader: {
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 type: 'json'
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 }
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 }
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 });
a1be7ccd4d0c Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14

http://lada.wald.intevation.org