annotate app.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 f964a50bfe57
children 3c7bfff8bd64
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.
25
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 24
diff changeset
5 autoCreateViewport: true,
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');
570373979387 Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 0
diff changeset
9 },
3
ac736eea9b30 Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 2
diff changeset
10 // 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
11 // first before the application "launch" function is called.
ac736eea9b30 Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 2
diff changeset
12 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
13 '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
14 'Sql'
3
ac736eea9b30 Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 2
diff changeset
15 ]
0
1e257ec56220 Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 });

http://lada.wald.intevation.org