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.ListConditionTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ListChangedTag, ListEvenTag, ListFirstTag, ListLastTag, ListOddTag

public class ListConditionTag
extends javax.servlet.jsp.tagext.BodyTagSupport

This tag can be used inside the list tag. The body will be evaluated depending on the value of the index of the list.

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
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ListConditionTag()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
 void setInverse(java.lang.Boolean b)
           
 void setList(java.lang.String l)
           
 void setValue(java.lang.String v)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

ListConditionTag

public ListConditionTag()
Method Detail

setValue

public void setValue(java.lang.String v)

setList

public void setList(java.lang.String l)

setInverse

public void setInverse(java.lang.Boolean b)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport


MMBase 2001