public class OldDecorator2NewStrutsVelocityDecorator extends OldDecorator2NewStrutsDecorator
oldDecorator
Constructor and Description |
---|
OldDecorator2NewStrutsVelocityDecorator(com.opensymphony.module.sitemesh.Decorator oldDecorator) |
Modifier and Type | Method and Description |
---|---|
protected void |
render(com.opensymphony.sitemesh.Content content,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
ActionContext ctx)
Applies the decorator, using the relevent contexts
|
static void |
setVelocityManager(VelocityManager mgr) |
getEncoding, getLocale, render
public OldDecorator2NewStrutsVelocityDecorator(com.opensymphony.module.sitemesh.Decorator oldDecorator)
public static void setVelocityManager(VelocityManager mgr)
protected void render(com.opensymphony.sitemesh.Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, ActionContext ctx) throws javax.servlet.ServletException, IOException
render
in class OldDecorator2NewStrutsDecorator
content
- The contentrequest
- The servlet requestresponse
- The servlet responseservletContext
- The servlet contextctx
- The action context for this request, populated with the server statejavax.servlet.ServletException
IOException
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.