|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.apache.struts.taglib.Link1Tag
Generate a URL-encoded hyperlink to the specified URI. This tag differs
from LinkTag
because it is based on a Dictionary, rather than
a Map, so that it works on JDK 1.1 platforms.
Field Summary | |
protected java.lang.String |
forward
The logical forward name from which to retrieve the hyperlink URI. |
protected java.lang.String |
href
The hyperlink URI. |
protected static MessageResources |
messages
The message resources for this package. |
protected java.lang.String |
name
The JSP bean name for query parameters. |
protected java.lang.String |
property
The JSP bean property name for query parameters. |
protected java.lang.String |
target
The window target. |
Constructor Summary | |
Link1Tag()
|
Method Summary | |
int |
doEndTag()
Render the end of the hyperlink. |
int |
doStartTag()
Render the beginning of the hyperlink. |
java.lang.String |
getForward()
Return the logical forward name. |
java.lang.String |
getHref()
Return the hyperlink URI. |
java.lang.String |
getName()
Return the bean name. |
java.lang.String |
getProperty()
Return the property name. |
java.lang.String |
getTarget()
Return the window target. |
protected java.lang.String |
hyperlink()
Return the specified hyperlink, modified as necessary with optional request parameters. |
void |
release()
Release any acquired resources. |
void |
setForward(java.lang.String forward)
Set the logical forward name. |
void |
setHref(java.lang.String href)
Set the hyperlink URI. |
void |
setName(java.lang.String name)
Set the bean name. |
void |
setProperty(java.lang.String property)
Set the property name. |
void |
setTarget(java.lang.String target)
Set the window target. |
Field Detail |
protected java.lang.String forward
protected java.lang.String href
protected static MessageResources messages
protected java.lang.String name
protected java.lang.String property
protected java.lang.String target
Constructor Detail |
public Link1Tag()
Method Detail |
public java.lang.String getForward()
public void setForward(java.lang.String forward)
forward
- The new logical forward namepublic java.lang.String getHref()
public void setHref(java.lang.String href)
href
- Set the hyperlink URIpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The bean namepublic java.lang.String getProperty()
public void setProperty(java.lang.String property)
property
- The property namepublic java.lang.String getTarget()
public void setTarget(java.lang.String target)
target
- The new window targetpublic int doStartTag() throws javax.servlet.jsp.JspException
JspException
- if a JSP exception has occurredpublic int doEndTag() throws javax.servlet.jsp.JspException
JspException
- if a JSP exception has occurredpublic void release()
protected java.lang.String hyperlink() throws javax.servlet.jsp.JspException
JspException
- if an error occurs preparing the hyperlink
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |