Class CmsJspTagEnableListAdd

  • All Implemented Interfaces:
    javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

    public class CmsJspTagEnableListAdd
    extends javax.servlet.jsp.tagext.SimpleTagSupport
    Generates a special HTML element which enables the 'create list element' dialog for a set of types when used in a formatter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doTag()  
      void setPostCreateHandler​(java.lang.String postCreateHandler)
      Sets the post-create handler to use after creating new elements.
      void setTypes​(java.lang.Object typesObj)
      Sets the types to offer to create.
      void setUploadFolder​(java.lang.String uploadFolder)
      Sets the upload folder.
      • Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport

        findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
      • Methods inherited from class java.lang.Object

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

      • doTag

        public void doTag()
                   throws java.io.IOException
        Specified by:
        doTag in interface javax.servlet.jsp.tagext.SimpleTag
        Overrides:
        doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
        Throws:
        java.io.IOException
        See Also:
        SimpleTagSupport.doTag()
      • setPostCreateHandler

        public void setPostCreateHandler​(java.lang.String postCreateHandler)
        Sets the post-create handler to use after creating new elements.
        Parameters:
        postCreateHandler - the post-create handler
      • setTypes

        public void setTypes​(java.lang.Object typesObj)
                      throws javax.servlet.jsp.JspException
        Sets the types to offer to create.
        Parameters:
        typesObj - either a string containing type names separated by commas, or a collection of objects whose toString() methods return resource type names.
        Throws:
        javax.servlet.jsp.JspException - if something goes wrong
      • setUploadFolder

        public void setUploadFolder​(java.lang.String uploadFolder)
        Sets the upload folder.
        Parameters:
        uploadFolder - the upload folder