Skip to content

Instantly share code, notes, and snippets.

@rei999
Created January 20, 2013 09:23
Show Gist options
  • Save rei999/4577450 to your computer and use it in GitHub Desktop.
Save rei999/4577450 to your computer and use it in GitHub Desktop.
sitemesh.xml
<sitemesh>
<property name="decorators-file" value="/WEB-INF/decorators.xml"/>
<excludes file="${decorators-file}"/>
<page-parsers>
<parser default="true"
class="com.opensymphony.module.sitemesh.parser.FastPageParser"/>
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment