public abstract class WhenTagSupport extends ConditionalTagSupport
WhenTagSupport is an abstract class that facilitates implementation of <when>-style tags in both the rtexprvalue and expression-evaluating libraries. It also supports <otherwise>.
In particular, this base class does the following:
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
WhenTagSupport() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Includes its body if condition() evaluates to true.
|
condition, release, setScope, setVar
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public int doStartTag() throws JspException
ConditionalTagSupport
doStartTag
in interface Tag
doStartTag
in class ConditionalTagSupport
JspException
- if an error occurs while processing this tagTag.doStartTag()
Copyright © 2016 JBoss by Red Hat. All rights reserved.