FCKeditor this.EditingArea为空或不是对象
摘要:问题原因:在页面中使用了onload事件,该事件的调用方法中,使用了JS来设置FCKEditor的值(FCKEditor在当前页面中).可以理解为还没有加载完FCKEditor就设置其值.所以会报错.解决方案:将onload事件的调用方法名改为:FCKeditor_OnComplete
阅读全文
posted @
2011-10-21 18:29
哎!无悔
阅读(217)
推荐(0) 编辑
mybatis教程
摘要:MyBatis学习 之 一、MyBatis简介与配置MyBatis+Spring+MySqlMyBatis学习 之 二、SQL语句映射文件(1)resultMapMyBatis学习 之 二、SQL语句映射文件(2)增删改查、参数、缓存MyBatis学习 之 三、动态SQL语句MyBatis学习 之 四、MyBatis配置文件
阅读全文
posted @
2011-10-20 23:26
哎!无悔
阅读(2538)
推荐(0) 编辑
MyBatis使用Generator自动生成代码
摘要:MyBatis中,可以使用Generator自动生成代码,包括DAO层、 MODEL层 、MAPPING SQL映射文件。第一步:下载MyBatis的Generator工具下载地址:http://code.google.com/p/mybatis/downloads/detail?name=mybatis-generator-core-1.3.1-bundle.zip&can=3&q=Product%3DGenerator第二步:配置自动生成代码所需的XML配置文件,例如(generator.xml)Xml代码<?xmlversion="1.0"enc
阅读全文
posted @
2011-10-20 23:24
哎!无悔
阅读(702)
推荐(0) 编辑