|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.webapp.example.LinkUserTag
Generate a URL-encoded hyperlink to the specified URI, with associated query parameters selecting a specified User.
Field Summary | |
protected static org.apache.struts.util.MessageResources |
messages
The message resources for this package. |
private String |
name
The attribute name. |
protected String |
page
The hyperlink URI. |
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 | |
LinkUserTag()
|
Method Summary | |
int |
doEndTag()
Render the end of the hyperlink. |
int |
doStartTag()
Render the beginning of the hyperlink. |
String |
getName()
Return the attribute name. |
String |
getPage()
Return the hyperlink URI. |
void |
release()
Release any acquired resources. |
void |
setName(String name)
Set the attribute name. |
void |
setPage(String page)
Set the hyperlink URI. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String page
protected static org.apache.struts.util.MessageResources messages
private String name
Constructor Detail |
public LinkUserTag()
Method Detail |
public String getPage()
public void setPage(String page)
page
- Set the hyperlink URIpublic String getName()
public void setName(String name)
name
- The new attribute namepublic int doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic int doEndTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic void release()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |