MyDesktop.rlWindow = Ext.extend(Ext.app.Module, {
id : 'rl-win',
init : function() {
this.launcher = {
text : '超级日历',
iconCls : 'rl-grid',
handler : this.createWindow,
scope : this
}
}, createWindow : function() {
var desktop = this.app.getDesktop();
var win = desktop.getWindow('rl-win');
if (!win) {
var win = new Ext.Window({  
        width : 800,  
        height : 600,  
        maximizable : true,
       // maximized : true,
        
        autoLoad : {  
        url : 'wannianli.jsp', 
     scope: this, // optional scope for the callback
     discardUrl: false,
      nocache: false, 
        script : true  
        
         }  
        });  
           win.show();   }
}
});wannianli.jsp 是一个独立的页面 单独可以显示,加载入窗体 就显示javascript那部分,如何解决?