Class Scripts
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
net.sf.basedb.clients.web.taglib.extensions.Scripts
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
Tag for creating <script> tags from a
JspContext
.
Syntax:
<ext:scripts context=... />
Attribute | Default value | Required | Description |
context | - | yes |
A JspContext to pick scripts from.
|
extension | - | no | If set, only scripts defined by the given extension are included in the output. |
- Version:
- 2.7
- Author:
- Nicklas
- See Also:
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionint
private void
void
setContext
(JspContext context) void
setExtension
(String extensionId) private void
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
context
-
extensionId
-
-
Constructor Details
-
Scripts
public Scripts()
-
-
Method Details
-
setContext
-
setExtension
- Since:
- 3.19.3
-
doStartTag
- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Throws:
JspException
-
readObject
- Throws:
ClassNotFoundException
IOException
-
writeObject
- Throws:
IOException
-