Package psiprobe.mappers
Class AjaxDecoratorMapper
- java.lang.Object
-
- com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
- psiprobe.mappers.AjaxDecoratorMapper
-
- All Implemented Interfaces:
com.opensymphony.module.sitemesh.DecoratorMapper
public class AjaxDecoratorMapper extends com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
The AjaxDecoratorMapper will exclude all "ajax" requests from being decorated. It will also make sure that error pages rendered during ajax request execution are not decorated.
-
-
Field Summary
Fields Modifier and Type Field Description private String
ajaxExtension
The ajax extension.
-
Constructor Summary
Constructors Constructor Description AjaxDecoratorMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.opensymphony.module.sitemesh.Decorator
getDecorator(javax.servlet.http.HttpServletRequest request, com.opensymphony.module.sitemesh.Page page)
void
init(com.opensymphony.module.sitemesh.Config config, Properties properties, com.opensymphony.module.sitemesh.DecoratorMapper decoratorMapper)
-
-
-
Field Detail
-
ajaxExtension
private String ajaxExtension
The ajax extension.
-
-
Method Detail
-
init
public void init(com.opensymphony.module.sitemesh.Config config, Properties properties, com.opensymphony.module.sitemesh.DecoratorMapper decoratorMapper) throws InstantiationException
- Specified by:
init
in interfacecom.opensymphony.module.sitemesh.DecoratorMapper
- Overrides:
init
in classcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
- Throws:
InstantiationException
-
getDecorator
public com.opensymphony.module.sitemesh.Decorator getDecorator(javax.servlet.http.HttpServletRequest request, com.opensymphony.module.sitemesh.Page page)
- Specified by:
getDecorator
in interfacecom.opensymphony.module.sitemesh.DecoratorMapper
- Overrides:
getDecorator
in classcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
-