DWZ 与SpringSide4整合

来源:互联网 发布:mac上如何设置邮箱 编辑:程序博客网 时间:2024/05/13 23:18

springside4 作者 江南白衣,

DWZ 点击打开链接

整合实例

继承了springMVC+spring+hibernate基本达到零配置开发,所带的例子采用了bootstrap以及sitemesh布局.

后台开发敏捷方便,但是所配的UI用起来不是很顺手,于是整合了一个DWZ 作为前台UI使用.

springside4项目的创建就不赘述了.

项目运行起来的时候需要将web.xml中关于sitemesh的部分注掉

<!-- <filter><filter-name>sitemeshFilter</filter-name><filter-class>com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class></filter> <filter-mapping><filter-name>sitemeshFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping>-->
在项目将src/main/webapp/static路径下创建dwz文件夹便于管理,然后将bin,chart,demo,doc,js,themes,uploadify,xheditor文件夹以及dwz.frag.xml文件复制到里面.

整合完毕,制作页面的时候可以参照dwz的例子页面,进行修改.修改main页面里面的JS以及css引入.


0 0