Class DeleteTag

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants, java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class DeleteTag
    extends javax.servlet.jsp.tagext.TagSupport
    implements JcmsConstants
    This tag prints a small delete icons beside a given Data object to delete it
    Version:
    $Revision: 133099 $
    Author:
    Olivier Dedieu
    See Also:
    Serialized Form
    • Constructor Detail

      • DeleteTag

        public DeleteTag()
    • Method Detail

      • setData

        public void setData​(Data data)
      • setId

        public void setId​(java.lang.String id)
        Overrides:
        setId in class javax.servlet.jsp.tagext.TagSupport
      • setRedirect

        public void setRedirect​(java.lang.String redirect)
      • setIcon

        public void setIcon​(java.lang.String icon)
      • setDataAttribute

        public void setDataAttribute​(DataAttribute dataAttribute)
      • setCss

        public void setCss​(java.lang.String css)
      • setHtmlAttributes

        public void setHtmlAttributes​(java.lang.String htmlAttributes)
      • setConfirmMessage

        public void setConfirmMessage​(java.lang.String confirmMessage)
      • setText

        public void setText​(java.lang.String text)
      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class javax.servlet.jsp.tagext.TagSupport
        Throws:
        javax.servlet.jsp.JspException
      • doEndTag

        public int doEndTag()
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class javax.servlet.jsp.tagext.TagSupport
      • getDeleteIcon

        public static java.lang.String getDeleteIcon​(Data data,
                                                     java.lang.String contextPath,
                                                     java.lang.String userLang,
                                                     java.lang.String redirect,
                                                     java.lang.String title,
                                                     java.lang.String workspaceFilter)
      • getDeleteIcon

        public static java.lang.String getDeleteIcon​(Data data,
                                                     java.lang.String contextPath,
                                                     java.lang.String userLang,
                                                     java.lang.String redirect,
                                                     java.lang.String title,
                                                     java.lang.String workspaceFilter,
                                                     java.lang.String icon)