diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-11-25 12:48:15 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-11-25 12:48:15 +0000 |
commit | ea60aae139c666c610c1af5cfd0b616d3f4a535c (patch) | |
tree | e9e1556e38d1a68a90185ed7d3074f0e2dccec04 /src/main/webapp/WEB-INF/sitemesh.xml | |
parent | 1774241bd1e38eb789609ba443d48f1122fe4819 (diff) | |
download | pdf-as-3-ea60aae139c666c610c1af5cfd0b616d3f4a535c.tar.gz pdf-as-3-ea60aae139c666c610c1af5cfd0b616d3f4a535c.tar.bz2 pdf-as-3-ea60aae139c666c610c1af5cfd0b616d3f4a535c.zip |
Preparation for multilingual support for web application.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@312 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/webapp/WEB-INF/sitemesh.xml')
-rw-r--r-- | src/main/webapp/WEB-INF/sitemesh.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/sitemesh.xml b/src/main/webapp/WEB-INF/sitemesh.xml new file mode 100644 index 0000000..c6653cc --- /dev/null +++ b/src/main/webapp/WEB-INF/sitemesh.xml @@ -0,0 +1,30 @@ +<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">
+ <param name="config" value="${decorators-file}" />
+ </mapper>
+ </decorator-mappers>
+</sitemesh>
|