Mercurial > lada > lada-client
annotate app.js @ 5:039584709fa7
Map double click event on rows of the userlist to the editProben function.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 29 Apr 2013 15:10:43 +0200 |
parents | b8e56e880f02 |
children | 8e79bda4d55b |
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', |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 autoCreateViewprt: true, |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 launch: function() { |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 // Start the application. |
2
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
6 console.log('Launching the application'); |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
7 Ext.create('Ext.container.Viewport', { |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
8 layout: 'fit', |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
9 items: [ |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
10 { |
4
b8e56e880f02
Added a first example view (userlisting) from the EXJS Tutorial. Need to be
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
3
diff
changeset
|
11 xtype: 'probenlist', |
b8e56e880f02
Added a first example view (userlisting) from the EXJS Tutorial. Need to be
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
3
diff
changeset
|
12 title: 'Probenauswahlmaske' |
2
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
13 } |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
14 ] |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
15 }); |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
16 }, |
3
ac736eea9b30
Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
2
diff
changeset
|
17 // 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
|
18 // first before the application "launch" function is called. |
ac736eea9b30
Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
2
diff
changeset
|
19 controllers: [ |
ac736eea9b30
Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
2
diff
changeset
|
20 'Proben' |
ac736eea9b30
Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
2
diff
changeset
|
21 ] |
0
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
22 }); |