org.opencms.jsp
Class CmsJspTagContentShow
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.opencms.jsp.CmsJspTagContentShow
- All Implemented Interfaces:
- IterationTag, Serializable, Tag
- public class CmsJspTagContentShow
- extends TagSupport
Used to access and display XML content item information from the VFS.
- Since:
- 6.0.0
- Version:
- $Revision: 1.21 $
- Author:
- Alexander Kandzior
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmsJspTagContentShow
public CmsJspTagContentShow()
contentShowTagAction
public static String contentShowTagAction(A_CmsXmlDocument content,
String element,
Locale locale,
ServletRequest req)
- Internal action method to show an element from a XML content document.
- Parameters:
content - the XML content to show the element fromelement - the node name of the element to showlocale - the locale of the element to showreq - the current request
- Returns:
- the value of the selected content element
doStartTag
public int doStartTag()
throws JspException
- Throws:
JspException- See Also:
Tag.doStartTag()
getElement
public String getElement()
- Returns the name of the content node element to show.
- Returns:
- the name of the content node element to show
release
public void release()
- See Also:
Tag.release()
setElement
public void setElement(String element)
- Sets the name of the content node element to show.
- Parameters:
element - the name of the content node element to show