org.apache.myfaces.view.facelets.tag.jstl.core
Class IfHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by 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: IfHandler.java 1306698 2012-03-29 03:13:06Z lu4242 $
Author:
Jacob Hookom

Field Summary
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
IfHandler(TagConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
           
 
Methods inherited from class javax.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IfHandler

public IfHandler(TagConfig config)
Parameters:
config -
Method Detail

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws IOException,
                  FacesException,
                  javax.el.ELException
Specified by:
apply in interface FaceletHandler
Throws:
IOException
FacesException
javax.el.ELException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.