Class IfHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
org.apache.myfaces.view.facelets.tag.jstl.core.IfHandler
- All Implemented Interfaces:
- FaceletHandler,- ComponentContainerHandler
@JSFFaceletTag(name="c:if")
@JSFFaceletAttribute(name="scope",
                     className="java.lang.String",
                     longDescription="Scope for var.")
public final class IfHandler
extends TagHandler
implements ComponentContainerHandler
Simple conditional tag, which evalutes its body if the
 supplied condition is true and optionally exposes a Boolean
 scripting variable representing the evaluation of this condition
- Version:
- $Id$
- Author:
- Jacob Hookom
- 
Field SummaryFields inherited from class jakarta.faces.view.facelets.TagHandlernextHandler, tag, tagId
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class jakarta.faces.view.facelets.TagHandlergetAttribute, getRequiredAttribute, toString
- 
Constructor Details- 
IfHandler- Parameters:
- config-
 
 
- 
- 
Method Details- 
applypublic void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, jakarta.el.ELException - Specified by:
- applyin interface- FaceletHandler
- Throws:
- IOException
- FacesException
- jakarta.el.ELException
 
 
-