首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

WPS theme开发的容易流程

2012-09-20 
WPS theme开发的简单流程1.阅读referDoc中的WPSThemeDev.docx和themePage.jpg,了解WPS theme的工作原理。(d

WPS theme开发的简单流程
1.阅读referDoc中的WPSThemeDev.docx和themePage.jpg,了解WPS theme的工作原理。(default.jsp, banner.jspf (banner-xxx.jspf), topNav.jspf, sideNav.jspf)
2.确定自己的需求,决定如何通过现有的theme改进。
3.拷贝模板theme到 profiles/wp_profile/installedApps/nodename/wps.ear/wps.war/themes/html.
4.创建使用此theme的page。
5.然后修改模板theme的相关内容以满足自己的需求。 (测试的时候需要删除 wp_profile/tmp/)
6.调试好theme以后,采用同样的方法调试skin,拷贝,修改,调试。
7.当theme和skin调试好以后,参照"Packing themes and Skins as a WSR for portal 6.doc"打包。
8.通过console安装打包好的包含theme和skin的application,可以参照模板工程的安装文档。
9.阅读“WPS xmlAccess.htm”了解install脚本的一些常用命令,参照模板工程的install脚本书写适合自己工程的(policy, themeInstallScript和portalInstallScript)

热点排行