Package org.deltava.taglib.content
Class SystemMessageFilterTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.content.SystemMessageFilterTag
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
A JSP Tag to display content if a system message is in the Request.
- Since:
- 2.4
- Version:
- 7.0
- Author:
- Luke
- 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
-
Method Summary
Modifier and TypeMethodDescriptionint
Filters the content of this tag based on whether a system message is present in the request.Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
SystemMessageFilterTag
public SystemMessageFilterTag()
-
-
Method Details
-
doStartTag
public int doStartTag()Filters the content of this tag based on whether a system message is present in the request.- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Returns:
- SKIP_BODY if message not found, otherwise EVAL_BODY_INCLUDE
-