public class UrlTag extends LinkTagSupport implements BodyTag
A Stripes version of the <c:url/> tag that adds some Stripes specific parameters to the URL. Designed to generate URLs and either write them into the page or set them into one of the JSP scopes.
Cooperates with the Stripes ParamTag to accept any number of parameters that will be merged into the URL before rendering.
ParamTagpageContext, parentTagEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
UrlTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doAfterBody()
Does nothing.
|
int |
doEndTag()
Generates the URL and either writes it into the page or sets it in the appropraite
JSP scope.
|
void |
doInitBody()
Does nothing.
|
int |
doStartTag()
Does nothing.
|
String |
getScope()
Gets the name of scope to store the scoped variable specified by 'var' in.
|
String |
getValue()
Gets the URL as supplied on the page.
|
String |
getVar()
Gets the name of the scoped variable to store the URL in.
|
void |
setScope(String scope)
Sets the name of scope to store the scoped variable specified by 'var' in.
|
void |
setValue(String value)
Sets the URL as supplied on the page.
|
void |
setVar(String var)
Sets the name of the scoped variable to store the URL in.
|
addParameter, buildUrl, clearParameters, getAnchor, getBeanclass, getEvent, getParameters, getPreferredBaseUrl, getUrl, isAddSourcePage, isPrependContext, setAddSourcePage, setAnchor, setBeanclass, setEvent, setPrependContext, setUrlevaluateExpression, get, getAccesskey, getAttributes, getBodyContent, getBodyContentAsString, getCssClass, getDir, getId, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getStyle, getTabindex, getTitle, isXmlTags, release, set, setAccesskey, setBodyContent, setClass, setCssClass, setDir, setDynamicAttribute, setId, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setStyle, setTabindex, setTitle, toString, writeAttributes, writeCloseTag, writeOpenTag, writeSingletonTaggetActionBeanType, getActionBeanUrl, getPageContext, getParent, getParentTag, getTagStack, popPageContextAttributes, pushPageContextAttributes, setPageContext, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetBodyContentgetParent, release, setPageContext, setParentpublic int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class StripesTagSupportBodyTag.EVAL_BODY_BUFFERED in all cases.JspExceptionpublic void doInitBody()
throws JspException
doInitBody in interface BodyTagJspExceptionpublic int doAfterBody()
throws JspException
doAfterBody in interface IterationTagTag.SKIP_BODY in all cases.JspExceptionpublic int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class StripesTagSupportTag.EVAL_PAGE in all cases.JspException - if the output stream cannot be written to.public String getVar()
public void setVar(String var)
public String getScope()
public void setScope(String scope)
public String getValue()
public void setValue(String value)
© Copyright 2005-2006, Stripes Development Team.