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, URL
ATTR_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 |
setTarget(String target) |
void |
setTemplatefile(String key) |
void |
setTitle(String title) |
void |
setVersion(String arg) |
getPage, getTemplate, setFormat, setPage, setTemplate
doCatch, doFinally, doStartTag, setId, setPageContext
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setParent, setValue
public LinkTag()
public void initTag()
WikiTagBase
initTag
in class WikiLinkTag
public 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 setCompareToVersion(String ver)
public void setContext(String context)
public void setContainedParameter(String name, String value)
setContainedParameter
in interface ParamHandler
public int doWikiStartTag() throws Exception
WikiTagBase
doWikiStartTag
in class WikiTagBase
Exception
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class WikiLinkTag
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent bc)
setBodyContent
in interface javax.servlet.jsp.tagext.BodyTag
public void doInitBody() throws javax.servlet.jsp.JspException
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
javax.servlet.jsp.JspException
Copyright © 2001-2016 The Apache Software Foundation. All rights reserved.