Ext.onReady(init);function init(){
try{
var view=Ext.Viewport({
layout:"border",
items:[
{region:'north',height:60,title:'north'},
{region:'south',height:60,title:'south'},
{region:'west',width:60,title:'west'},
{region:'east',width:60,title:'east'},
{region:'center',title:'center'}
]
});
}catch(e){
alert(e.message);
}
};报错:this.addEvents is not a function why?
try{
var view=Ext.Viewport({
layout:"border",
items:[
{region:'north',height:60,title:'north'},
{region:'south',height:60,title:'south'},
{region:'west',width:60,title:'west'},
{region:'east',width:60,title:'east'},
{region:'center',title:'center'}
]
});
}catch(e){
alert(e.message);
}
};报错:this.addEvents is not a function why?
解决方案 »
- 请教大家一个简单的问题,谢谢
- 如何使用弹出框的形式让用户输入用户名和密码
- jsp生成静态页面时根据文章字数自动分页的问题
- jquery所做的蒙板层
- [乱码]poi导出excel,createSheet("汉字"),出现乱码
- 请问如何给数据流写入文字
- 我很想问大家关于写代码的问题
- 如何删除已安装的tomact
- poi从excel取出数据,插入mysql,插入中文后,数据库显示的都是问号,其他数字类型正确,请解决!
- 如何向JSP中传送Sevrlet的实例?
- GWT 有大虾能给我说说它到底是做什么用
- MyEclipse在jsp文件设置了断点,F6单步调试,总出现_jspService页面,提示:Source not found for XXXX.jsp
{
}
全部包完