Class MenuWrapTransform

  • All Implemented Interfaces:
    freemarker.template.TemplateModel, freemarker.template.TemplateTransformModel

    public class MenuWrapTransform
    extends java.lang.Object
    implements 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
    This is an interactive FreeMarker transform that allows the user to modify the contents that are placed within it.
    • Field Summary

      Modifier and Type Field Description
      static java.lang.String module  
      static java.lang.String[] saveKeyNames  
      static java.lang.String[] upSaveKeyNames  
      • Fields inherited from interface freemarker.template.TemplateModel

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description getWriter​( out, java.util.Map args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
      • upSaveKeyNames

        public static final java.lang.String[] upSaveKeyNames
      • saveKeyNames

        public static final java.lang.String[] saveKeyNames
    • Constructor Detail

      • MenuWrapTransform

        public MenuWrapTransform()
    • Method Detail

      • getWriter

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