Package com.atlassian.bamboo.ww2
Class FreemarkerRequestDispatcherPageFilter.BambooSiteMeshFactory
java.lang.Object
com.opensymphony.module.sitemesh.Factory
com.opensymphony.module.sitemesh.factory.BaseFactory
com.opensymphony.module.sitemesh.factory.DefaultFactory
org.apache.struts2.sitemesh.StrutsSiteMeshFactory
com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter.BambooSiteMeshFactory
- All Implemented Interfaces:
com.opensymphony.module.sitemesh.PageParserSelector
- Enclosing class:
FreemarkerRequestDispatcherPageFilter
public static class FreemarkerRequestDispatcherPageFilter.BambooSiteMeshFactory
extends org.apache.struts2.sitemesh.StrutsSiteMeshFactory
This class overrides Struts' StrutsSiteMeshFactory to allow parsing pages inside action tags.
In Struts, the default behavior is to not parse pages inside action tags (why????), but we want to parse them.
-
Field Summary
Fields inherited from class com.opensymphony.module.sitemesh.factory.DefaultFactory
configCheckMillisFields inherited from class com.opensymphony.module.sitemesh.factory.BaseFactory
config, decoratorMapper, excludeUrls, pageParsers -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.opensymphony.module.sitemesh.factory.DefaultFactory
refreshMethods inherited from class com.opensymphony.module.sitemesh.factory.BaseFactory
addExcludeUrl, clearDecoratorMappers, clearExcludeUrls, clearParserMappings, getDecoratorMapper, getDecoratorMapper, getPageParser, isPathExcluded, mapParser, pushDecoratorMapperMethods inherited from class com.opensymphony.module.sitemesh.Factory
getInstance
-
Constructor Details
-
BambooSiteMeshFactory
public BambooSiteMeshFactory(com.opensymphony.module.sitemesh.Config config)
-
-
Method Details
-
shouldParsePage
- Specified by:
shouldParsePagein interfacecom.opensymphony.module.sitemesh.PageParserSelector- Overrides:
shouldParsePagein classorg.apache.struts2.sitemesh.StrutsSiteMeshFactory
-