com.opensymphony.webwork.sitemesh
Class VelocityPageFilter

java.lang.Object
  extended by com.opensymphony.sitemesh.webapp.SiteMeshFilter
      extended by com.opensymphony.module.sitemesh.filter.PageFilter
          extended by com.opensymphony.webwork.sitemesh.TemplatePageFilter
              extended by 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


Constructor Summary
VelocityPageFilter()
           
 
Method Summary
protected  void applyDecorator(com.opensymphony.module.sitemesh.Page page, com.opensymphony.module.sitemesh.Decorator decorator, HttpServletRequest req, HttpServletResponse res, ServletContext servletContext, ActionContext ctx)
          Applies the decorator, using the relevent contexts
 
Methods inherited from class com.opensymphony.webwork.sitemesh.TemplatePageFilter
applyDecorator, getEncoding, init
 
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
 

Constructor Detail

VelocityPageFilter

public VelocityPageFilter()
Method Detail

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 page
decorator - The decorator
req - The servlet request
res - The servlet response
servletContext - The servlet context
ctx - The action context for this request, populated with the server state
Throws:
ServletException
IOException

WebWork Project Page