org.opencms.jsp
Class CmsJspTagLink
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opencms.jsp.CmsJspTagLink
- All Implemented Interfaces:
- BodyTag, IterationTag, Serializable, Tag
- public class CmsJspTagLink
- extends BodyTagSupport
Implements the <cms:link>[filename]</cms:link>
tag to add OpenCms managed links to a JSP page, required for link
management and the static
export to work properly.
- Since:
- 6.0.0
- Version:
- $Revision: 1.14 $
- Author:
- Alexander Kandzior
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmsJspTagLink
public CmsJspTagLink()
linkTagAction
public static String linkTagAction(String link,
ServletRequest req)
- Internal action method.
Calulates a link using the OpenCms link export rules.
- Parameters:
link - the link that should be calculated, can be relative or absolutereq - the current request
- Returns:
- the calculated link
- See Also:
CmsLinkManager.substituteLink(org.opencms.file.CmsObject, String)
doEndTag
public int doEndTag()
throws JspException
- Returns:
- EVAL_PAGE
- Throws:
JspException - in case soemthing goes wrong- See Also:
Tag.doEndTag()