Class ChooseWhenHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- org.apache.myfaces.view.facelets.tag.jstl.core.ChooseWhenHandler
-
- All Implemented Interfaces:
FaceletHandler
,ComponentContainerHandler
@JSFFaceletTag(name="c:when") public final class ChooseWhenHandler extends TagHandler implements ComponentContainerHandler
Subtag of <choose> that includes its body if its condition evalutes to 'true'- Version:
- $Id$
- Author:
- Jacob Hookom
-
-
Field Summary
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description ChooseWhenHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(FaceletContext ctx, UIComponent parent)
boolean
isTestTrue(FaceletContext ctx)
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Constructor Detail
-
ChooseWhenHandler
public ChooseWhenHandler(TagConfig config)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, jakarta.el.ELException
- Specified by:
apply
in interfaceFaceletHandler
- Throws:
IOException
FacesException
FaceletException
jakarta.el.ELException
-
isTestTrue
public boolean isTestTrue(FaceletContext ctx)
-
-