diff options
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.xml | 16 |
1 files changed, 16 insertions, 0 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 new file mode 100644 index 00000000..d8dfb3c9 --- /dev/null +++ b/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml @@ -0,0 +1,16 @@ +<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.FastPageParser" /> + </page-parsers> + + <decorator-mappers> + <mapper + class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper"> + <param name="config" value="${decorators-file}" /> + </mapper> + </decorator-mappers> +</sitemesh>
\ No newline at end of file |