com.liferay.taglib.core
Class WhenTag
java.lang.Object
com.liferay.portal.kernel.servlet.taglib.TagSupport
com.liferay.taglib.core.ConditionalTagSupport
com.liferay.taglib.core.WhenTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- OtherwiseTag
public class WhenTag
- extends ConditionalTagSupport
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WhenTag
public WhenTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class ConditionalTagSupport
- Throws:
javax.servlet.jsp.JspTagException
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class ConditionalTagSupport
setTest
public void setTest(boolean test)
condition
protected boolean condition()
- Specified by:
condition
in class ConditionalTagSupport