Class CmsJspTagJQuery

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String m_css
      Deprecated.
      The optional css file to include.
      protected java.lang.String m_dynamic
      Deprecated.
      If the inclusion should be dynamic with js or not.
      protected java.lang.String m_js
      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
      CmsJspTagJQuery()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int doStartTag()
      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.
      java.lang.String getCss()
      Deprecated.
      Returns the optional css file to include.
      java.lang.String getDynamic()
      Deprecated.
      Returns the dynamic flag.
      java.lang.String getJs()
      Deprecated.
      Returns the javascript file to include.
      void release()
      Deprecated.
      Releases any resources we may have (or inherit).
      void setCss​(java.lang.String css)
      Deprecated.
      Sets the optional css file to include.
      void setDynamic​(java.lang.String dynamic)
      Deprecated.
      Sets the dynamic flag.
      void setJs​(java.lang.String js)
      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 Detail

      • m_css

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

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

        protected java.lang.String m_js
        Deprecated.
        The javascript file to include.
    • Method Detail

      • 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 java.lang.String getCss()
        Deprecated.
        Returns the optional css file to include.

        Returns:
        the optional css file to include
      • getDynamic

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

        Returns:
        the dynamic flag
      • getJs

        public java.lang.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​(java.lang.String css)
        Deprecated.
        Sets the optional css file to include.

        Parameters:
        css - the css file to set
      • setDynamic

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

        Parameters:
        dynamic - the dynamic flag to set
      • setJs

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

        Parameters:
        js - the javascript file to set