aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml')
-rw-r--r--pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml21
1 files changed, 9 insertions, 12 deletions
diff --git a/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml b/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml
index c6653cc..cda7eb3 100644
--- a/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml
+++ b/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml
@@ -1,30 +1,27 @@
<sitemesh>
+
<property name="decorators-file" value="/WEB-INF/decorators.xml"/>
<excludes file="${decorators-file}"/>
<page-parsers>
<parser content-type="text/html" class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
</page-parsers>
+
<decorator-mappers>
+
<mapper class="com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper">
<param name="property.1" value="meta.decorator" />
<param name="property.2" value="decorator" />
</mapper>
- <!--
- <mapper class="com.opensymphony.module.sitemesh.mapper.LanguageDecoratorMapper">
- <param name="match.en" value="en" />
- </mapper>
- -->
+
<mapper class="at.gv.egiz.pdfas.web.i18n.LanguageDecoratorMapper"/>
+
<mapper class="com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper"/>
- <mapper class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper">
- <param name="decorator" value="printable" />
- <param name="parameter.name" value="printable" />
- <param name="parameter.value" value="true" />
- </mapper>
- <mapper class="com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper"/>
- <mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper">
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.EnvEntryDecoratorMapper">
<param name="config" value="${decorators-file}" />
</mapper>
+
</decorator-mappers>
+
</sitemesh>