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:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, 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.
- Version:
- $Id: ListConditionTag.java 38382 2009-09-03 21:41:33Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
appendMoreParameters, doCatch, doEndTag, doFinally, fillStandardParameters, findLoopOrQuery, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getCurrentBlock, getDefaultLocale, getEscapedValue, getFormTag, getId, getLocale, getLocaleFromContext, getObject, getObjectConditional, getPageContext, getPageContextTag, getQuery, getReferid, getString, getTaglibVersion, getThreadPageContext, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setPageContextOnly, 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- Overrides:
doStartTag in class BodyTagSupport
- Throws:
JspTagException
doAfterBody
public int doAfterBody()
throws JspTagException
- Specified by:
doAfterBody in interface IterationTag- Overrides:
doAfterBody in class BodyTagSupport
- Throws:
JspTagException
MMBase 2.0-SNAPSHOT - null