Mercurial > lada > lada-client
comparison app/store/Proben.js @ 36:2a67e062519b
Implemted search. When user clicks on the search buttons parameters are
fetched and a query url is the generated.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 23 May 2013 16:50:42 +0200 |
parents | 4d60b9ebce15 |
children | 2fbd53b944fc |
comparison
equal
deleted
inserted
replaced
35:3f801444b8d5 | 36:2a67e062519b |
---|---|
1 Ext.define('Lada.store.Proben', { | 1 Ext.define('Lada.store.Proben', { |
2 extend: 'Ext.data.Store', | 2 extend: 'Ext.data.Store', |
3 model: 'Lada.model.Probe', | 3 model: 'Lada.model.Probe', |
4 proxy: { | 4 proxy: { |
5 type: 'ajax', | 5 type: 'ajax', |
6 url: 'server/rest/proben', | |
6 api: { | 7 api: { |
7 read: 'server/rest/proben' | |
8 }, | 8 }, |
9 reader: { | 9 reader: { |
10 type: 'json' | 10 type: 'json' |
11 } | 11 } |
12 } | 12 } |