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

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by 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: ChooseWhenHandler.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
ChooseWhenHandler(TagConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
           
 boolean isTestTrue(FaceletContext ctx)
           
 
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

ChooseWhenHandler

public ChooseWhenHandler(TagConfig config)
Method Detail

apply

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

isTestTrue

public boolean isTestTrue(FaceletContext ctx)


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