public class ParamTag extends BodyTagSupport
ParamAware ancestor in the tag hierarchy.
This tag must be nested under a param aware tag.
Param,
UrlTag,
Serialized FormbodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
ParamTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
void |
release() |
void |
setName(String name)
Sets the name of the parameter
|
void |
setValue(String value)
Sets the value of the parameter
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspExceptionpublic void setName(String name)
Required
name - the parameter namepublic void setValue(String value)
Optional. If not set, the tag's body content is evaluated
value - the parameter valuepublic void release()
release in interface Tagrelease in class BodyTagSupport