Mercurial > lada > lada-client
diff app/view/Viewport.js @ 369:cebed9ef8293
Dynamically add configured search filters. Send needed values to the server.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 16 Aug 2013 12:20:51 +0200 |
parents | 94884cd8f8c0 |
children | fe8d6e1b08ff |
line wrap: on
line diff
--- a/app/view/Viewport.js Fri Aug 16 11:13:17 2013 +0200 +++ b/app/view/Viewport.js Fri Aug 16 12:20:51 2013 +0200 @@ -10,10 +10,7 @@ requires: [ 'Lada.store.Info', 'Lada.view.search.List', - 'Lada.view.proben.List', - 'Lada.view.widgets.Mst', - 'Lada.view.widgets.Uwb', - 'Lada.view.widgets.Datetime' + 'Lada.view.proben.List' ], initComponent: function() { console.log('Setting up Viewport'); @@ -161,6 +158,7 @@ // Auswahl einer Abfrage. { xtype: 'queryselector', + id: 'queryselector', margin: '0 0 10 0' }, // Variables settings for the current selected sql statement. @@ -169,29 +167,7 @@ id: 'queryfilters', title: 'Variablenbelegung', hidden: true, - items: [ - { - id: 'filter-mstId', - xtype: 'mst', - fieldLabel: 'Messstelle', - labelWidth: 100, - hidden: true - }, - { - id: 'filter-umwId', - xtype: 'uwb', - fieldLabel: 'Umweltbereich', - labelWidth: 100, - hidden: true - }, - { - id: 'filter-pbegin', - xtype: 'datetime', - fieldLabel: 'Probenbeginn', - labelWidth: 100, - hidden: true - } - ] + items: [] }, // Buttons to trigger the search. {