Class CmsJspTagUgc

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.opencms.jsp.CmsJspTagUgc
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class CmsJspTagUgc extends javax.servlet.jsp.tagext.TagSupport
Jsp tag to initialize an editing session for user generated content.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default page context attribute name for the form error message.
    static final String
    The default page context attribute name for the form session id.

    Fields inherited from class javax.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface javax.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    Returns the site path to the edit configuration file.
    Returns the structure id of the edit resource.
    Returns the file name of the edit resource.
    Returns the page context attribute name for the form error message.
    Returns the page context attribute name for the form session id.
    void
    setConfigPath(String configPath)
    Sets the site path to the edit configuration file.
    void
    setEditId(String editId)
    Sets the structure id of the edit resource.
    void
    setEditName(String editName)
    Sets the file name of the edit resource.
    void
    Sets the page context attribute name for the form error message.
    void
    Sets the page context attribute name for the form session id.

    Methods inherited from class javax.servlet.jsp.tagext.TagSupport

    doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • doEndTag

      public int doEndTag() throws javax.servlet.jsp.JspException
      Specified by:
      doEndTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class javax.servlet.jsp.tagext.TagSupport
      Throws:
      javax.servlet.jsp.JspException
      See Also:
      • TagSupport.doEndTag()
    • 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
      See Also:
      • TagSupport.doStartTag()
    • getConfigPath

      Returns the site path to the edit configuration file.

      Returns:
      site path to the edit configuration file
    • getEditId

      public String getEditId()
      Returns the structure id of the edit resource.

      Returns:
      structure id of the edit resource
    • getEditName

      public String getEditName()
      Returns the file name of the edit resource.

      Returns:
      the file name of the edit resource
    • getError

      public String getError()
      Returns the page context attribute name for the form error message.

      Returns:
      the page context attribute name for the form error message
    • getVar

      public String getVar()
      Returns the page context attribute name for the form session id.

      Returns:
      the page context attribute name for the form session id
    • setConfigPath

      public void setConfigPath(String configPath)
      Sets the site path to the edit configuration file.

      Parameters:
      configPath - the site path to the edit configuration file
    • setEditId

      public void setEditId(String editId)
      Sets the structure id of the edit resource.

      Parameters:
      editId - the structure id of the edit resource
    • setEditName

      public void setEditName(String editName)
      Sets the file name of the edit resource.

      Parameters:
      editName - the file name of the edit resource
    • setError

      public void setError(String error)
      Sets the page context attribute name for the form error message.

      Parameters:
      error - the page context attribute name for the form error message
    • setVar

      public void setVar(String var)
      Sets the page context attribute name for the form session id.

      Parameters:
      var - page context attribute name for the form session id