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那部分,如何解决?
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那部分,如何解决?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货