Package org.apache.ofbiz.widget.renderer
Class MenuWrapTransform
java.lang.Object
org.apache.ofbiz.widget.renderer.MenuWrapTransform
- All Implemented Interfaces:
freemarker.template.TemplateModel
,freemarker.template.TemplateTransformModel
MenuWrapTransform - a FreeMarker transform that allow the ModelMenu
stuff to be used at the FM level. It can be used to add "function bars"
to pages.
Accepts the following arguments (all of which can alternatively be present in the template context):
List<Map<String, ? extends Object>> globalNodeTrail
String contentAssocPredicateId
String nullThruDatesOnly
String subDataResourceTypeId
String renderOnStart
String renderOnClose
String menuDefFile
String menuName
String menuWrapperClassName
String associatedContentId
-
Field Details
-
UP_SAVE_KEY_NAMES
-
SAVE_KEY_NAMES
-
-
Constructor Details
-
MenuWrapTransform
public MenuWrapTransform()
-
-
Method Details
-
getWriter
- Specified by:
getWriter
in interfacefreemarker.template.TemplateTransformModel
-