Class CmsJspTagJQuery

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

@Deprecated public class CmsJspTagJQuery extends javax.servlet.jsp.tagext.BodyTagSupport
Deprecated.
jQuery should be provided by standard includes directly in the template. The jQuery version shipping with OpenCms used by this tag is outdated. This tag is kept only for backward compatibility with old templates.
Implementation of the <cms:jquery/> tag.

OpenCms version 7.0.5 introduced a core module providing jQuery plus some additional plugins. This tag will include the JQuery javascript library depending on the current project. If the current Project is offline the unpacked version is used, if online the packed version will be used.

Since:
7.0.5
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    Deprecated.
    The optional css file to include.
    protected String
    Deprecated.
    If the inclusion should be dynamic with js or not.
    protected String
    Deprecated.
    The javascript file to include.

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

    bodyContent

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

    id, pageContext

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

    EVAL_BODY_BUFFERED, EVAL_BODY_TAG

    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
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated.
    Opens the direct edit tag, if manual mode is set then the next start HTML for the direct edit buttons is printed to the page.
    Deprecated.
    Returns the optional css file to include.
    Deprecated.
    Returns the dynamic flag.
    Deprecated.
    Returns the javascript file to include.
    void
    Deprecated.
    Releases any resources we may have (or inherit).
    void
    Deprecated.
    Sets the optional css file to include.
    void
    setDynamic(String dynamic)
    Deprecated.
    Sets the dynamic flag.
    void
    Deprecated.
    Sets the javascript file to include.

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

    doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent

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

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    getParent, setPageContext, setParent
  • Field Details

    • m_css

      protected String m_css
      Deprecated.
      The optional css file to include.
    • m_dynamic

      protected String m_dynamic
      Deprecated.
      If the inclusion should be dynamic with js or not.
    • m_js

      protected String m_js
      Deprecated.
      The javascript file to include.
  • Constructor Details

  • Method Details

    • doStartTag

      public int doStartTag() throws javax.servlet.jsp.JspException
      Deprecated.
      Opens the direct edit tag, if manual mode is set then the next start HTML for the direct edit buttons is printed to the page.

      Specified by:
      doStartTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
      Returns:
      Tag.EVAL_BODY_INCLUDE
      Throws:
      javax.servlet.jsp.JspException - in case something goes wrong
    • getCss

      public String getCss()
      Deprecated.
      Returns the optional css file to include.

      Returns:
      the optional css file to include
    • getDynamic

      public String getDynamic()
      Deprecated.
      Returns the dynamic flag.

      Returns:
      the dynamic flag
    • getJs

      public String getJs()
      Deprecated.
      Returns the javascript file to include.

      Returns:
      the javascript file
    • release

      public void release()
      Deprecated.
      Releases any resources we may have (or inherit).

      Specified by:
      release in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      release in class javax.servlet.jsp.tagext.BodyTagSupport
    • setCss

      public void setCss(String css)
      Deprecated.
      Sets the optional css file to include.

      Parameters:
      css - the css file to set
    • setDynamic

      public void setDynamic(String dynamic)
      Deprecated.
      Sets the dynamic flag.

      Parameters:
      dynamic - the dynamic flag to set
    • setJs

      public void setJs(String js)
      Deprecated.
      Sets the javascript file to include.

      Parameters:
      js - the javascript file to set