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:
- BodyTag, Condition, IterationTag, Serializable, 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.22 2006/02/14 13:27:27 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
doEndTag, fillStandardParameters, findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getLocale, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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(String v)
throws JspTagException
- Throws:
JspTagException
getValue
protected int getValue()
throws JspTagException
- Throws:
JspTagException
setInverse
public void setInverse(String b)
throws JspTagException
- Description copied from interface:
Condition
- This attribute inverses the sense of the condition.
- Specified by:
setInverse in interface Condition
- Throws:
JspTagException
getInverse
protected boolean getInverse()
throws JspTagException
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Specified by:
doStartTag in interface Tag
- Throws:
JspTagException
doAfterBody
public int doAfterBody()
throws JspTagException
- Specified by:
doAfterBody in interface IterationTag
- Throws:
JspTagException
MMBase build 1.8.1.20060716