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, pageContextEVAL_BODY_AGAINEVAL_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, setVardoAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic int doStartTag()
throws JspException
ConditionalTagSupportdoStartTag in interface TagdoStartTag in class ConditionalTagSupportJspException - if an error occurs while processing this tagTag.doStartTag()Copyright © 2018 JBoss by Red Hat. All rights reserved.