org.apache.myfaces.view.facelets.tag.jsf.core
Class FacetHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by org.apache.myfaces.view.facelets.tag.jsf.core.FacetHandler
All Implemented Interfaces:
FaceletHandler, FacetHandler

@JSFFaceletTag(name="f:facet",
               bodyContent="JSP",
               tagClass="javax.faces.webapp.FacetTag")
public final class FacetHandler
extends TagHandler
implements FacetHandler

Register a named facet on the UIComponent associated with the closest parent UIComponent custom action.

See tag documentation.

Version:
$Id: FacetHandler.java 1187701 2011-10-22 12:21:54Z bommel $
Author:
Jacob Hookom

Field Summary
static String KEY
           
protected  TagAttribute name
           
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
FacetHandler(TagConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
           
 String getFacetName(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
 

Field Detail

KEY

public static final String KEY
See Also:
Constant Field Values

name

protected final TagAttribute name
Constructor Detail

FacetHandler

public FacetHandler(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

getFacetName

public String getFacetName(FaceletContext ctx)
Specified by:
getFacetName in interface FacetHandler


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