Class FacetHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- org.apache.myfaces.view.facelets.tag.faces.core.FacetHandler
-
- All Implemented Interfaces:
FaceletHandler
,FacetHandler
@JSFFaceletTag(name="f:facet", bodyContent="JSP", tagClass="jakarta.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.- Version:
- $Id$
- Author:
- Jacob Hookom
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY
protected TagAttribute
name
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description FacetHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(FaceletContext ctx, UIComponent parent)
String
getFacetName(FaceletContext ctx)
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
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, jakarta.el.ELException
- Specified by:
apply
in interfaceFaceletHandler
- Throws:
IOException
FacesException
FaceletException
jakarta.el.ELException
-
getFacetName
public String getFacetName(FaceletContext ctx)
- Specified by:
getFacetName
in interfaceFacetHandler
-
-