|
|||||||||||
| 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
com.ivata.mask.web.tag.util.MapTag
This tag defines a Map in page scope and assigns
the entries to it defined by MapEntryTag instance
within
the tag body.
Tag attributes:
| attribute | reqd. | param. class | description |
|---|---|---|---|
| id | true | String |
Specifies the name of the scripting variable and associated page scope attribute which will be made available. |
| Field Summary |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
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 | |
MapTag()
|
|
| Method Summary | |
int |
doStartTag()
This method is called when the JSP engine encounters the start tag, after the attributes are processed. |
java.lang.String |
getId()
Specifies the name of the scripting variable and associated page scope attribute which will be made available. |
java.util.HashMap |
getMap()
This internal implementaion actually does all the work :-). |
void |
setId(java.lang.String idParam)
Specifies the name of the scripting variable and associated page scope attribute which will be made available. |
void |
setMap(java.util.HashMap mapParam)
This internal implementaion actually does all the work :-). |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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 |
| Constructor Detail |
public MapTag()
| Method Detail |
public int doStartTag()
throws javax.servlet.jsp.JspException
This method is called when the JSP engine encounters the start tag, after the attributes are processed.
Scripting variables (if any) have their values set here.
EVAL_BODY_BUFFERED since we always want to
evaluate the tag body once.
javax.servlet.jsp.JspException - if there is a NamingExcpetion
getting the InitialContext
javax.servlet.jsp.JspException - encapsulates any exception when calling
out.printlnpublic final java.lang.String getId()
Specifies the name of the scripting variable and associated page scope attribute which will be made available.
public final void setId(java.lang.String idParam)
Specifies the name of the scripting variable and associated page scope attribute which will be made available.
idParam - the new value of id.public final java.util.HashMap getMap()
This internal implementaion actually does all the work :-).
public final void setMap(java.util.HashMap mapParam)
This internal implementaion actually does all the work :-).
mapParam - the new value of map.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||