Class FacetHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
com.sun.faces.facelets.tag.TagHandlerImpl
com.sun.faces.facelets.tag.jsf.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
-
Constructor Summary
Constructors Constructor Description FacetHandler(TagConfig config)
-
Method Summary
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 Details
-
KEY
- See Also:
- Constant Field Values
-
name
-
-
Constructor Details
-
Method Details
-
apply
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
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.
-