Class InsertJSTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
org.deltava.taglib.content.InsertContentTag
org.deltava.taglib.content.InsertMinifiedContentTag
org.deltava.taglib.content.InsertJSTag
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
A JSP tag to insert a JavaScript include file.
- Since:
- 1.0
- Version:
- 10.1
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class org.deltava.taglib.content.InsertContentTag
_resourceName
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 -
Method Summary
Methods inherited from class org.deltava.taglib.content.InsertMinifiedContentTag
doStartTag, getFileName, isMinified
Methods inherited from class org.deltava.taglib.content.InsertContentTag
setName
Methods inherited from class org.deltava.taglib.BrowserInfoTag
getBrowserContext
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
InsertJSTag
public InsertJSTag()
-
-
Method Details
-
setAsync
public void setAsync(boolean isAsync) Sets whether the script should be loaded asynchronously.- Parameters:
isAsync
- TRUE if loaded asynchronously, otherwise FALSE
-
release
public void release()- Specified by:
release
in interfaceTag
- Overrides:
release
in classTagSupport
-
doEndTag
Renders the tag.- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Returns:
- TagSupport.EVAL_PAGE
- Throws:
JspException
- if an error occurs
-