검색결과 리스트
sitemesh 적용에 해당되는 글 1건
- 2012.07.22 [spring] Spring3.0 + sitemesh 적용
글
pom.xml
<opensymphony.sitemesh-version>2.4.2</opensymphony.sitemesh-version> <dependency> |
/osstem.synervelly/src/main/webapp/WEB-INF/sitemesh.xml
<?xml version="1.0" encoding="UTF-8"?> <page-parsers> <decorator-mappers> <mapper class="com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper"> <mapper class="com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper"> <mapper class="com.opensymphony.module.sitemesh.mapper.AgentDecoratorMapper"> <mapper class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper"> <mapper class="com.opensymphony.module.sitemesh.mapper.RobotDecoratorMapper"> <mapper class="com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper"> <mapper class="com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper">
<mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper"> </decorator-mappers> </sitemesh> |
/osstem.synervelly/src/main/webapp/WEB-INF/config/decorators.xml
<?xml version="1.0" encoding="euc-kr"?>
<decorator name="cadmin-main" page="main-layout.jsp"> |
/osstem.synervelly/src/main/webapp/WEB-INF/jsp/layout/main-layout.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8" <body onload="<decorator:getProperty property="body.onload" />"> <decorator:body />
|
RECENT COMMENT