Class VelocityTemplateEngine

java.lang.Object
org.apache.struts2.components.template.BaseTemplateEngine
org.apache.struts2.views.velocity.template.VelocityTemplateEngine
All Implemented Interfaces:
org.apache.struts2.components.template.TemplateEngine

public class VelocityTemplateEngine extends org.apache.struts2.components.template.BaseTemplateEngine
Velocity based template engine.
  • Constructor Details

    • VelocityTemplateEngine

      public VelocityTemplateEngine()
  • Method Details

    • setVelocityManager

      public void setVelocityManager(VelocityManager mgr)
    • renderTemplate

      public void renderTemplate(org.apache.struts2.components.template.TemplateRenderingContext templateContext) throws Exception
      Throws:
      Exception
    • getSuffix

      protected String getSuffix()
      Specified by:
      getSuffix in class org.apache.struts2.components.template.BaseTemplateEngine