annotate app/store/Datenbasis.js @ 49:792c34b3f5a9

Added combobox for field "testdatensatz"
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 27 May 2013 10:14:29 +0200
parents a1be7ccd4d0c
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