org.mmbase.bridge.jsp.taglib
Class ListConditionTag

org.mmbase.bridge.jsp.taglib.ContextReferrerTag
  |
  +--org.mmbase.bridge.jsp.taglib.ListReferrerTag
        |
        +--org.mmbase.bridge.jsp.taglib.ListConditionTag
All Implemented Interfaces:
Condition
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.

Author:
Michiel Meeuwissen

Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, PAGE_CATEGORY, pageContextTag, referid
 
Constructor Summary
ListConditionTag()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
 void setInverse(java.lang.Boolean b)
          This attribute inverses the sense of the condition.
 void setValue(java.lang.String v)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ListReferrerTag
getList, setList
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContextTag, getObject, getReferid, getString, release, setContext, setPageContext, setReferid
 

Constructor Detail

ListConditionTag

public ListConditionTag()
Method Detail

setValue

public void setValue(java.lang.String v)
              throws javax.servlet.jsp.JspTagException

setInverse

public void setInverse(java.lang.Boolean b)
Description copied from interface: Condition
This attribute inverses the sense of the condition.
Specified by:
setInverse in interface Condition

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException


MMBase 2002