Class ConfluenceVelocityManager

    • Constructor Detail

      • ConfluenceVelocityManager

        public ConfluenceVelocityManager()
    • Method Detail

      • getVelocityEngine

        public org.apache.velocity.app.VelocityEngine getVelocityEngine()
        Specified by:
        getVelocityEngine in interface org.apache.struts2.views.velocity.VelocityManagerInterface
      • createContext

        public org.apache.velocity.context.Context createContext​(com.opensymphony.xwork2.util.ValueStack stack,
                                                                 javax.servlet.http.HttpServletRequest req,
                                                                 javax.servlet.http.HttpServletResponse res)
        Specified by:
        createContext in interface org.apache.struts2.views.velocity.VelocityManagerInterface
      • init

        public void init​(javax.servlet.ServletContext context)
        Specified by:
        init in interface org.apache.struts2.views.velocity.VelocityManagerInterface
      • processContextForRendering

        public static org.apache.velocity.context.Context processContextForRendering​(org.apache.velocity.context.Context context)
        Parameters:
        context - is currently modified and returned, but do not rely on this as it may change in future.
      • getConfluenceVelocityContext

        public static org.apache.velocity.context.Context getConfluenceVelocityContext()