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 java.lang.Object implements freemarker.template.TemplateTransformModel
RenderSubContentTransform - Freemarker Transform for Content rendering This transform cannot be called recursively (at this time).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description RenderSubContentTransform()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
getArg(java.util.Map<java.lang.String,java.lang.Object> args, java.lang.String key, freemarker.core.Environment env)
Deprecated.use FreeMarkerWorker.getArg()static java.lang.String
getArg(java.util.Map<java.lang.String,java.lang.Object> args, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> ctx)
Deprecated.use FreeMarkerWorker.getArg()java.io.Writer
getWriter(java.io.Writer out, java.util.Map args)
-
-
-
Method Detail
-
getArg
@Deprecated public static java.lang.String getArg(java.util.Map<java.lang.String,java.lang.Object> args, java.lang.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 java.lang.String getArg(java.util.Map<java.lang.String,java.lang.Object> args, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> ctx)
Deprecated.use FreeMarkerWorker.getArg()
-
getWriter
public java.io.Writer getWriter(java.io.Writer out, java.util.Map args)
- Specified by:
getWriter
in interfacefreemarker.template.TemplateTransformModel
-
-