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
public class Scripts extends TagSupport
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:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description private JspContext
context
private String
extensionId
private static long
serialVersionUID
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 Constructor Description Scripts()
-
Method Summary
Modifier and Type Method Description int
doStartTag()
private void
readObject(ObjectInputStream ois)
void
setContext(JspContext context)
void
setExtension(String extensionId)
private void
writeObject(ObjectOutputStream ois)
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:
- Constant Field Values
-
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
-