org.mmbase.bridge.jsp.taglib
Class ListConditionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.ListReferrerTag
org.mmbase.bridge.jsp.taglib.ListConditionTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, Condition, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- ListChangedTag, ListEvenTag, ListFirstTag, ListLastTag, ListOddTag
- public class ListConditionTag
- extends ListReferrerTag
- implements Condition
This tag can be used inside the list tag. The body will be
evaluated depending on the value of the index of the list.
- Version:
- $Id: ListConditionTag.java,v 1.19 2004/03/23 21:44:43 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| 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 |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
doEndTag, fillStandardParameters, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getId, getLocale, getObject, getPageContext, getReferid, getString, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setParent |
CONDITION_FIRST
protected static final int CONDITION_FIRST
- See Also:
- Constant Field Values
CONDITION_LAST
protected static final int CONDITION_LAST
- See Also:
- Constant Field Values
CONDITION_EVEN
protected static final int CONDITION_EVEN
- See Also:
- Constant Field Values
CONDITION_ODD
protected static final int CONDITION_ODD
- See Also:
- Constant Field Values
CONDITION_CHANGED
protected static final int CONDITION_CHANGED
- See Also:
- Constant Field Values
ListConditionTag
public ListConditionTag()
setValue
public void setValue(java.lang.String v)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getValue
protected int getValue()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setInverse
public void setInverse(java.lang.String b)
throws javax.servlet.jsp.JspTagException
- Description copied from interface:
Condition
- This attribute inverses the sense of the condition.
- Specified by:
setInverse in interface Condition
- Throws:
javax.servlet.jsp.JspTagException
getInverse
protected boolean getInverse()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
- Throws:
javax.servlet.jsp.JspTagException
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspTagException
- Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
- Throws:
javax.servlet.jsp.JspTagException
MMBase build 1.7.4.20050922