|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.ejtools.servlet.http.jsp.tagext.RequestParameterTag
Tag that put a request parameter in the page context
The request parameter is put in the context with :
id parameter : used as the identifiername parameter : used to fetch the request parametertype parameter : used to type the request parametervalue parameter : used as a default value if the request parameter is not found
| Field Summary | |
protected java.lang.String |
id
Id property of the tag |
protected java.lang.String |
name
Name property of the tag |
protected java.lang.String |
type
Type property of the tag |
protected java.lang.String |
value
Value property of the tag |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
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 | |
RequestParameterTag()
|
|
| Method Summary | |
protected java.lang.Object |
convert(java.lang.String s,
java.lang.String type)
Used to transform a string into a type object |
int |
doStartTag()
Executed when the start tag is encountered |
java.lang.String |
getId()
Gets the id value of this tag |
java.lang.String |
getName()
Gets the name value of this tag |
java.lang.String |
getType()
Gets the type value of this tag |
java.lang.String |
getValue()
Gets the value value of this tag |
void |
release()
Release all allocated resources. |
void |
setId(java.lang.String id)
Sets the id value of this tag |
void |
setName(java.lang.String name)
Sets the name value of this tag |
void |
setType(java.lang.String type)
Sets the type value of this tag |
void |
setValue(java.lang.String value)
Sets the value value of this tag |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, 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 |
| Field Detail |
protected java.lang.String id
protected java.lang.String name
protected java.lang.String type
protected java.lang.String value
| Constructor Detail |
public RequestParameterTag()
| Method Detail |
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - In case of problempublic java.lang.String getId()
getId in class javax.servlet.jsp.tagext.TagSupportpublic java.lang.String getName()
public java.lang.String getType()
public java.lang.String getValue()
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic void setId(java.lang.String id)
setId in class javax.servlet.jsp.tagext.TagSupportid - The new id valuepublic void setName(java.lang.String name)
name - The new name valuepublic void setType(java.lang.String type)
type - The new type valuepublic void setValue(java.lang.String value)
value - The new value value
protected java.lang.Object convert(java.lang.String s,
java.lang.String type)
s - The string representation of the objecttype - The type of the object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||