torsten@0: Ext.application({ torsten@0: name: 'Lada', torsten@10: // Setting this variable to true should trigger loading the Viewport.js torsten@10: // file which sets ob the viewport. But this does not happen. torsten@10: autoCreateViewprt: false, torsten@0: launch: function() { torsten@0: // Start the application. torsten@2: console.log('Launching the application'); torsten@11: torsten@11: // This code works here, but this should usually be done in the torsten@11: // Viewport.js class. torsten@11: Ext.create('Ext.panel.Panel', { torsten@11: renderTo: Ext.getBody(), torsten@7: title: 'Probenauswahlmaske', torsten@2: items: [ torsten@2: { torsten@9: xtype: 'probenlist' torsten@2: } torsten@2: ] torsten@2: }); torsten@2: }, torsten@3: // Define the controllers of the application. They will be initialized torsten@3: // first before the application "launch" function is called. torsten@3: controllers: [ torsten@6: 'Proben', torsten@6: 'Sql' torsten@3: ] torsten@0: });