Class FacetHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- com.sun.faces.facelets.tag.TagHandlerImpl
-
- com.sun.faces.facelets.tag.faces.core.FacetHandler
-
- All Implemented Interfaces:
FaceletHandler
,FacetHandler
public final class FacetHandler extends TagHandlerImpl implements FacetHandler
Register a named facet on the UIComponent associated with the closest parent UIComponent custom action. See tag documentation.- 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)
Process changes on a particular UIComponentString
getFacetName(FaceletContext ctxt)
Returns the resolved literal String value of the facet name after evaluating EL.-
Methods inherited from class com.sun.faces.facelets.tag.TagHandlerImpl
findNextByType, findNextByType
-
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
Description copied from interface:FaceletHandler
Process changes on a particular UIComponent
- Specified by:
apply
in interfaceFaceletHandler
- Parameters:
ctx
- the current FaceletContext instance for this executionparent
- the parent UIComponent to operate upon- Throws:
IOException
- if unable to loadrelativePath
-
getFacetName
public String getFacetName(FaceletContext ctxt)
Description copied from interface:FacetHandler
Returns the resolved literal String value of the facet name after evaluating EL.
- Specified by:
getFacetName
in interfaceFacetHandler
- Parameters:
ctxt
- theFaceletContext
for this view execution- Returns:
- the resolved literal String value of the facet name.
-
-