Liferay 6.1.2-ce-ga3

com.liferay.taglib.core
Class WhenTag

java.lang.Object
  extended by com.liferay.portal.kernel.servlet.taglib.TagSupport
      extended by com.liferay.taglib.core.ConditionalTagSupport
          extended by 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


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
WhenTag()
           
 
Method Summary
protected  boolean condition()
           
 int doStartTag()
           
 void release()
           
 void setTest(boolean test)
           
 
Methods inherited from class com.liferay.taglib.core.ConditionalTagSupport
setScope, setVar
 
Methods inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport
doEndTag, findAncestorWithClass, getParent, setPageContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhenTag

public WhenTag()
Method Detail

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

Liferay 6.1.2-ce-ga3