com.cc.framework.taglib.template
Class NotPresentTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.cc.framework.taglib.template.PresentTag
com.cc.framework.taglib.template.NotPresentTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class NotPresentTag
- extends PresentTag
Tag handler for the notpresent
tag. The tag checks the
non-existence of a JSP-fragment and in case of success, executes the
Body-Content. The tag may only be used within a <template:insert>-tag.
It can thus, in particular, be used in a JSP template, since these are
located in the Scope of a <template:insert>-tag!
- Since:
- 1.0
- Version:
- $Revision: 1.13 $
- Author:
- Harald Schulz
- See Also:
- Serialized Form
Fields inherited from class com.cc.framework.taglib.template.PresentTag |
|
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 |
Method Summary |
protected boolean |
condition()
method condition |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, 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 |
serialVersionUID
private static final long serialVersionUID
- Serial Version UID
- See Also:
- Constant Field Values
NotPresentTag
public NotPresentTag()
- Constructor
condition
protected boolean condition()
throws javax.servlet.jsp.JspException
- Description copied from class:
PresentTag
- method condition
- Overrides:
condition
in class PresentTag
- Returns:
- boolean boolean result of the evaluation
- Throws:
javax.servlet.jsp.JspException
- If an error occurs- See Also:
PresentTag.condition()
Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.