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:
javax.faces.view.facelets.FaceletHandler

@JSFFaceletTag(name="c:when")
public final class ChooseWhenHandler
extends javax.faces.view.facelets.TagHandler

Subtag of <choose> that includes its body if its condition evalutes to 'true'

Version:
$Id: ChooseWhenHandler.java,v 1.3 2008/07/13 19:01:43 rlubke Exp $
Author:
Jacob Hookom

Field Summary
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
ChooseWhenHandler(javax.faces.view.facelets.TagConfig config)
           
 
Method Summary
 void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
           
 boolean isTestTrue(javax.faces.view.facelets.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(javax.faces.view.facelets.TagConfig config)
Method Detail

apply

public void apply(javax.faces.view.facelets.FaceletContext ctx,
                  javax.faces.component.UIComponent parent)
           throws java.io.IOException,
                  javax.faces.FacesException,
                  javax.faces.view.facelets.FaceletException,
                  javax.el.ELException
Throws:
java.io.IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException

isTestTrue

public boolean isTestTrue(javax.faces.view.facelets.FaceletContext ctx)


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