Package org.opencms.jsp
Class CmsJspTagDisplayFormatter
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.opencms.jsp.CmsJspTagDisplayFormatter
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
The tag 'displayFormatter' can be used to add a formatter resource type pairing to the surrounding 'display' tag.
- See Also:
-
Field Summary
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setFormatter
(String path) Sets the path to the formatter configuration file.void
setFormatterKey
(String key) Sets the key of the formatter to use.void
Sets the path to the formatter configuration file.void
Sets the type.Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
CmsJspTagDisplayFormatter
public CmsJspTagDisplayFormatter()
-
-
Method Details
-
doStartTag
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
- See Also:
-
TagSupport.doStartTag()
-
setFormatter
Sets the path to the formatter configuration file.- Parameters:
path
- the path to set
-
setFormatterKey
Sets the key of the formatter to use.- Parameters:
key
- the formatter key
-
setPath
Sets the path to the formatter configuration file.- Parameters:
path
- the path to set
-
setType
Sets the type.- Parameters:
type
- the type to set
-