Class RenderSubContentTransform

java.lang.Object
org.apache.ofbiz.content.webapp.ftl.RenderSubContentTransform
All Implemented Interfaces:
freemarker.template.TemplateModel, freemarker.template.TemplateTransformModel

public class RenderSubContentTransform extends Object implements freemarker.template.TemplateTransformModel
RenderSubContentTransform - Freemarker Transform for Content rendering This transform cannot be called recursively (at this time).
  • Constructor Details

    • RenderSubContentTransform

      public RenderSubContentTransform()
  • Method Details

    • getArg

      @Deprecated public static String getArg(Map<String,Object> args, String key, freemarker.core.Environment env)
      Deprecated.
      use FreeMarkerWorker.getArg()

      Does a conditional search to return a value for a parameter with the passed name. Looks first to see if it was passed as an argument to the transform. Secondly, it looks to see if it is passed as a parameter in the template context object.

      Note that this is different from the getArg method of EditRenderDataResourceTransform, which checks the request object instead of the template context object.

    • getArg

      @Deprecated public static String getArg(Map<String,Object> args, String key, Map<String,Object> ctx)
      Deprecated.
      use FreeMarkerWorker.getArg()
    • getWriter

      public Writer getWriter(Writer out, Map args)
      Specified by:
      getWriter in interface freemarker.template.TemplateTransformModel