com.opensymphony.webwork.sitemesh
Class VelocityPageFilter
java.lang.Object
com.opensymphony.sitemesh.webapp.SiteMeshFilter
com.opensymphony.module.sitemesh.filter.PageFilter
com.opensymphony.webwork.sitemesh.TemplatePageFilter
com.opensymphony.webwork.sitemesh.VelocityPageFilter
- All Implemented Interfaces:
- Filter
public class VelocityPageFilter
- extends TemplatePageFilter
Applies Velocity-based decorators
User: plightbo
Date: Aug 31, 2005
Time: 10:49:51 PM
| Methods inherited from class com.opensymphony.sitemesh.webapp.SiteMeshFilter |
destroy, doFilter, initContentProcessor, initDecoratorSelector |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityPageFilter
public VelocityPageFilter()
applyDecorator
protected void applyDecorator(com.opensymphony.module.sitemesh.Page page,
com.opensymphony.module.sitemesh.Decorator decorator,
HttpServletRequest req,
HttpServletResponse res,
ServletContext servletContext,
ActionContext ctx)
throws ServletException,
IOException
- Applies the decorator, using the relevent contexts
- Specified by:
applyDecorator in class TemplatePageFilter
- Parameters:
page - The pagedecorator - The decoratorreq - The servlet requestres - The servlet responseservletContext - The servlet contextctx - The action context for this request, populated with the server state
- Throws:
ServletException
IOException