
public class LinkTag extends WikiLinkTag implements ParamHandler, javax.servlet.jsp.tagext.BodyTag
If parameter jsp is defined, constructs a URL pointing to the specified JSP page, under the baseURL known by the WikiEngine. Any ParamTag name-value pairs contained in the body are added to this URL to provide support for arbitrary JSP calls.
ANCHOR, m_format, m_pageName, m_template, URLATTR_CONTEXT, m_wikiContext| Constructor and Description |
|---|
LinkTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
void |
doInitBody() |
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
String |
getVersion() |
void |
initTag()
This method is called when the tag is encountered within a new request,
but before the setXXX() methods are called.
|
void |
setAbsolute(String arg) |
void |
setAccessKey(String key) |
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent bc) |
void |
setCompareToVersion(String ver) |
void |
setContainedParameter(String name,
String value)
Support for ParamTag supplied parameters in body.
|
void |
setContext(String context) |
void |
setCssClass(String arg) |
void |
setJsp(String jsp) |
void |
setRef(String ref) |
void |
setRel(String rel) |
void |
setStyle(String style) |
void |
setTabindex(String tabindex) |
void |
setTarget(String target) |
void |
setTemplatefile(String key) |
void |
setTitle(String title) |
void |
setVersion(String arg) |
getPage, getTemplate, setFormat, setPage, setTemplatedoCatch, doFinally, doStartTag, setId, setPageContextdoAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setParent, setValuepublic LinkTag()
public void initTag()
WikiTagBaseinitTag in class WikiLinkTagpublic void setTemplatefile(String key)
public void setAccessKey(String key)
public void setAbsolute(String arg)
public String getVersion()
public void setVersion(String arg)
public void setCssClass(String arg)
public void setTabindex(String tabindex)
public void setCompareToVersion(String ver)
public void setContext(String context)
public void setContainedParameter(String name, String value)
setContainedParameter in interface ParamHandlerpublic int doWikiStartTag() throws Exception
WikiTagBasedoWikiStartTag in class WikiTagBaseExceptionpublic int doEndTag()
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class WikiLinkTagpublic void setBodyContent(javax.servlet.jsp.tagext.BodyContent bc)
setBodyContent in interface javax.servlet.jsp.tagext.BodyTagpublic void doInitBody() throws javax.servlet.jsp.JspException
doInitBody in interface javax.servlet.jsp.tagext.BodyTagjavax.servlet.jsp.JspExceptionCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.