|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opencms.jsp.CmsJspTagJQuery
public class CmsJspTagJQuery
Implementation of the <cms:jquery/>
tag.
Since OpenCms version 7.0.5, there is a new 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.
Field Summary | |
---|---|
protected java.lang.String |
m_css
The optional css file to include. |
protected java.lang.String |
m_dynamic
If the inclusion should be dynamic with js or not. |
protected java.lang.String |
m_js
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 | |
---|---|
CmsJspTagJQuery()
|
Method Summary | |
---|---|
int |
doStartTag()
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()
Returns the optional css file to include. |
java.lang.String |
getDynamic()
Returns the dynamic flag. |
java.lang.String |
getJs()
Returns the javascript file to include. |
void |
release()
Releases any resources we may have (or inherit). |
void |
setCss(java.lang.String css)
Sets the optional css file to include. |
void |
setDynamic(java.lang.String dynamic)
Sets the dynamic flag. |
void |
setJs(java.lang.String js)
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 |
---|
protected java.lang.String m_css
protected java.lang.String m_dynamic
protected java.lang.String m_js
Constructor Detail |
---|
public CmsJspTagJQuery()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
Tag.EVAL_BODY_INCLUDE
javax.servlet.jsp.JspException
- in case something goes wrongpublic java.lang.String getCss()
public java.lang.String getDynamic()
public java.lang.String getJs()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public void setCss(java.lang.String css)
css
- the css file to setpublic void setDynamic(java.lang.String dynamic)
dynamic
- the dynamic flag to setpublic void setJs(java.lang.String js)
js
- the javascript file to set
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |