Class OldDecorator2NewStrutsVelocityDecorator

java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
org.apache.struts2.sitemesh.OldDecorator2NewStrutsDecorator
org.apache.struts2.sitemesh.OldDecorator2NewStrutsVelocityDecorator
All Implemented Interfaces:
com.opensymphony.module.sitemesh.RequestConstants, com.opensymphony.sitemesh.Decorator

public class OldDecorator2NewStrutsVelocityDecorator extends OldDecorator2NewStrutsDecorator
Extends OldDecorator2NewStrutsDecorator to add Struts functionality for Velocity
  • Constructor Details

    • OldDecorator2NewStrutsVelocityDecorator

      public OldDecorator2NewStrutsVelocityDecorator(com.opensymphony.module.sitemesh.Decorator oldDecorator)
  • Method Details

    • setVelocityManager

      public static void setVelocityManager(VelocityManagerInterface mgr)
    • setVelocityManager

      @Deprecated public static void setVelocityManager(VelocityManager mgr)
      Deprecated.
      since 6.4.0
    • render

      protected void render(com.opensymphony.sitemesh.Content content, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext, ActionContext ctx) throws jakarta.servlet.ServletException, IOException
      Applies the decorator, using the relevent contexts
      Specified by:
      render in class OldDecorator2NewStrutsDecorator
      Parameters:
      content - The content
      request - The servlet request
      response - The servlet response
      servletContext - The servlet context
      ctx - The action context for this request, populated with the server state
      Throws:
      jakarta.servlet.ServletException
      IOException