Mercurial > lada > lada-client
annotate app/store/Probenart.js @ 43:9176ad09a4f1
Added testfunction (not working) to initialize the comboboxes with a given value
after rendering the edit window. This needs work!
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 24 May 2013 16:40:11 +0200 |
parents | f9b6de636ad0 |
children | ab067fdb91b5 |
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: { |
f9b6de636ad0
Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 type: 'json' |
f9b6de636ad0
Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 } |
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 |