annotate app/view/Viewport.js @ 245:9a2c04b19874

Put all available search filters to the viewport. They are later hidden and shown when the user selects the search query
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 14:16:41 +0200
parents 7bea6974fb5b
children 125e2d43cd0f
rev   line source
12
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.view.Viewport' ,{
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Ext.container.Viewport',
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 requires: [
28
4d60b9ebce15 Renamed sql modul into search. Further display The query selection as Combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 25
diff changeset
4 'Lada.view.search.List',
245
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
5 'Lada.view.proben.List',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
6 'Lada.view.widgets.Mst',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
7 'Lada.view.widgets.Uwb',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
8 'Lada.view.widgets.Datetime'
12
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 ],
173
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
10
12
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 initComponent: function() {
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 console.log('Setting up Viewport');
184
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
13 this.initSearch();
173
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
14
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
15 // Development related:
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
16 // Disable "initSearch" call and enable one of the following init
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
17 // methods to get a dialog directly without the need to click through
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
18 // the whole application.
230
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
19 //this.initProbe();
180
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
20 //this.initOrt();
184
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
21 //this.initMessung();
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
22 //this.initMesswert();
173
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
23
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
24 this.callParent(arguments);
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
25 },
230
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
26 initProbe: function() {
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
27 var store = Ext.getStore('Proben');
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
28 store.load({
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
29 params: {
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
30 probeId: "000007575943X"
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
31 },
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
32 callback: function() {
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
33 var mstore = Ext.getStore('Messungen');
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
34 mstore.load({
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
35 params: {
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
36 probeId: "000007575943X"
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
37 }
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
38 });
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
39 var model = store.data.items[0];
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
40 var win = Ext.create('Lada.view.proben.Edit', {model: model});
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
41 }
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
42 });
7bea6974fb5b Added function to directly initialize the probenendit form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 214
diff changeset
43 },
180
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
44 initMesswert: function() {
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
45 var store = Ext.getStore('Messwerte');
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
46 store.load({
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
47 params: {
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
48 probeId: "000007575853X",
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
49 messungsId: "1"
184
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
50 },
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
51 callback: function() {
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
52 var model = store.data.items[0];
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
53 var win = Ext.create('Lada.view.messwerte.Create', {model: model});
180
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
54 }
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
55 });
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
56 },
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
57 initOrt: function() {
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
58 var ort = Ext.create('Lada.model.Ort');
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
59 var win = Ext.create('Lada.view.orte.Create', {model: ort});
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
60 },
173
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
61 initMessung: function() {
180
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
62 var store = Ext.getStore('Messungen');
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
63 var kstore = Ext.getStore('MKommentare');
184
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
64 var mstore = Ext.getStore('Messwerte');
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
65 var sstore = Ext.getStore('Status');
180
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
66 probeId = "000007578314X";
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
67 store.load({
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
68 params: {
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
69 probeId: probeId
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
70 },
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
71 callback: function () {
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
72 console.log(store);
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
73 var messung = store.data.items[0];
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
74 console.log(store.data.items[0]);
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
75 kstore.load({
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
76 params: {
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
77 probeId: probeId,
214
38e84783785f Fix getting messerte, status and kommentare in debug mode
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 184
diff changeset
78 messungsId: messung.get('id').messungsId
180
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
79 }
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
80 });
184
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
81 sstore.load({
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
82 params: {
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
83 probeId: probeId,
214
38e84783785f Fix getting messerte, status and kommentare in debug mode
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 184
diff changeset
84 messungsId: messung.get('id').messungsId
184
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
85 }
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
86 });
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
87 mstore.load({
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
88 params: {
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
89 probeId: probeId,
214
38e84783785f Fix getting messerte, status and kommentare in debug mode
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 184
diff changeset
90 messungsId: messung.get('id').messungsId
184
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
91 }
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
92 });
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
93 console.log('Creating Messung window');
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
94 //var messung = Ext.create('Lada.model.Messung');
cfa4ed3b62b5 Show search on app startup.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 180
diff changeset
95 var win = Ext.create('Lada.view.messungen.Create', {model: messung});
180
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
96 }
133df8f75a12 Added missing file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 173
diff changeset
97 });
173
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
98 },
1a11ae666f11 Added options to open dialogs directly without the need to click through the
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 148
diff changeset
99 initSearch: function() {
12
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
100 this.items = {
25
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
101 xtype: 'panel',
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
102 title: '<center>Probenauswahlmaske</center>',
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
103 bodyPadding: '10 10',
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
104 items: [
31
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
105 // Auswahl einer Abfrage.
25
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
106 {
28
4d60b9ebce15 Renamed sql modul into search. Further display The query selection as Combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 25
diff changeset
107 xtype: 'queryselector',
25
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
108 margin: '0 0 10 0'
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
109 },
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
110 // Variables settings for the current selected sql statement.
31
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
111 {
245
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
112 xtype: 'fieldset',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
113 id: 'queryfilters',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
114 title: 'Variablenbelegung',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
115 hidden: true,
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
116 items: [
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
117 {
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
118 id: 'filter-mstId',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
119 xtype: 'mst',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
120 fieldLabel: 'Messstelle',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
121 labelWidth: 100,
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
122 hidden: true
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
123 },
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
124 {
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
125 id: 'filter-umwId',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
126 xtype: 'uwb',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
127 fieldLabel: 'Umweltbereich',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
128 labelWidth: 100,
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
129 hidden: true
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
130 },
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
131 {
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
132 id: 'pbegin',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
133 xtype: 'datetime',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
134 fieldLabel: 'Probenbeginn',
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
135 labelWidth: 100,
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
136 hidden: true
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
137 }
9a2c04b19874 Put all available search filters to the viewport. They are later hidden and
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 230
diff changeset
138 ]
31
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
139 },
120
19eab475bbe5 Clean up part one. Reduced application to the search page. Moved some stores for comoboboxes right to the combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 39
diff changeset
140 // Buttons to trigger the search.
31
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
141 {
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
142 id: 'SearchBtnPanel',
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
143 xtype: 'panel',
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
144 border: false,
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
145 margin: '0 0 10 0',
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
146 items: [
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
147 {
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
148 id: 'SearchBtn',
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
149 text: 'Suchen',
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
150 xtype: 'button',
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
151 margin: '0 10 0 0'
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
152 },
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
153 {
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
154 id: 'ResetBtn',
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
155 text: 'Zurücksetzen',
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
156 xtype: 'button'
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
157 }
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
158 ],
148
ed7fb4fa32dc Do not hide search buttons and the resultlist on initial load.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 120
diff changeset
159 hidden: false
31
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
160
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
161 },
25
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
162 // Resultlist for the query.
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
163 {
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
164 id: 'result',
31
897e3100c6da Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 28
diff changeset
165 xtype: 'probenlist',
148
ed7fb4fa32dc Do not hide search buttons and the resultlist on initial load.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 120
diff changeset
166 hidden: false
25
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
167 }
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 12
diff changeset
168 ]
12
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
169 };
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
170 }
cdcaf38eab45 Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
171 });

http://lada.wald.intevation.org