Package org.opencms.jsp
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.
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
FieldsModifier and TypeFieldDescriptionprotected 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 -
Method Summary
Modifier and TypeMethodDescriptionint
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.getCss()
Deprecated.Returns the optional css file to include.Deprecated.Returns the dynamic flag.getJs()
Deprecated.Returns the javascript file to include.void
release()
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
Deprecated.The optional css file to include. -
m_dynamic
Deprecated.If the inclusion should be dynamic with js or not. -
m_js
Deprecated.The javascript file to include.
-
-
Constructor Details
-
CmsJspTagJQuery
public CmsJspTagJQuery()Deprecated.
-
-
Method Details
-
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.- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.BodyTagSupport
- Returns:
Tag.EVAL_BODY_INCLUDE
- Throws:
javax.servlet.jsp.JspException
- in case something goes wrong
-
getCss
Deprecated.Returns the optional css file to include.- Returns:
- the optional css file to include
-
getDynamic
Deprecated.Returns the dynamic flag.- Returns:
- the dynamic flag
-
getJs
Deprecated.Returns the javascript file to include.- Returns:
- the javascript file
-
release
Deprecated.Releases any resources we may have (or inherit).- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classjavax.servlet.jsp.tagext.BodyTagSupport
-
setCss
Deprecated.Sets the optional css file to include.- Parameters:
css
- the css file to set
-
setDynamic
Deprecated.Sets the dynamic flag.- Parameters:
dynamic
- the dynamic flag to set
-
setJs
Deprecated.Sets the javascript file to include.- Parameters:
js
- the javascript file to set
-