Mercurial > lada > lada-client
annotate app.js @ 15:fd692dac69a2
Remove title attribute to not show Header on the probenlist
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 30 Apr 2013 15:31:33 +0200 |
parents | 06da8faa2806 |
children | 3eaeeec2bb28 |
rev | line source |
---|---|
0
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.application({ |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 name: 'Lada', |
10
21d7b63f8783
Do not autocreate a viewport as automatic loading of the Viewport.js fiel
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
9
diff
changeset
|
3 // Setting this variable to true should trigger loading the Viewport.js |
21d7b63f8783
Do not autocreate a viewport as automatic loading of the Viewport.js fiel
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
9
diff
changeset
|
4 // file which sets ob the viewport. But this does not happen. |
21d7b63f8783
Do not autocreate a viewport as automatic loading of the Viewport.js fiel
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
9
diff
changeset
|
5 autoCreateViewprt: false, |
0
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 launch: function() { |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 // Start the application. |
2
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
8 console.log('Launching the application'); |
11
06da8faa2806
Added some comment.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
10
diff
changeset
|
9 |
06da8faa2806
Added some comment.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
10
diff
changeset
|
10 // This code works here, but this should usually be done in the |
06da8faa2806
Added some comment.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
10
diff
changeset
|
11 // Viewport.js class. |
06da8faa2806
Added some comment.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
10
diff
changeset
|
12 Ext.create('Ext.panel.Panel', { |
06da8faa2806
Added some comment.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
10
diff
changeset
|
13 renderTo: Ext.getBody(), |
7
54f95ab2f375
Moved title attribute
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
6
diff
changeset
|
14 title: 'Probenauswahlmaske', |
2
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
15 items: [ |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
16 { |
9
12a65c2c5dbf
Add probnelist to view
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
7
diff
changeset
|
17 xtype: 'probenlist' |
2
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
18 } |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
19 ] |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
20 }); |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
21 }, |
3
ac736eea9b30
Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
2
diff
changeset
|
22 // Define the controllers of the application. They will be initialized |
ac736eea9b30
Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
2
diff
changeset
|
23 // first before the application "launch" function is called. |
ac736eea9b30
Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
2
diff
changeset
|
24 controllers: [ |
6
8e79bda4d55b
Added a list to select predefined SQL Statement for the Proben list.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
4
diff
changeset
|
25 'Proben', |
8e79bda4d55b
Added a list to select predefined SQL Statement for the Proben list.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
4
diff
changeset
|
26 'Sql' |
3
ac736eea9b30
Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
2
diff
changeset
|
27 ] |
0
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
28 }); |