Mercurial > lada > lada-client
annotate app/store/Proben.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 | 2a67e062519b |
children | 2fbd53b944fc |
rev | line source |
---|---|
13
a8efc4b96888
Added model for Proben and a Store.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.store.Proben', { |
a8efc4b96888
Added model for Proben and a Store.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.data.Store', |
a8efc4b96888
Added model for Proben and a Store.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 model: 'Lada.model.Probe', |
14
c0b2faa47ee5
Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
4 proxy: { |
c0b2faa47ee5
Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
5 type: 'ajax', |
36
2a67e062519b
Implemted search. When user clicks on the search buttons parameters are
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
28
diff
changeset
|
6 url: 'server/rest/proben', |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
14
diff
changeset
|
7 api: { |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
14
diff
changeset
|
8 }, |
14
c0b2faa47ee5
Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
9 reader: { |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
24
diff
changeset
|
10 type: 'json' |
14
c0b2faa47ee5
Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
11 } |
c0b2faa47ee5
Load data from data/proben.json
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
12 } |
13
a8efc4b96888
Added model for Proben and a Store.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 }); |