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 StringKEYprotected TagAttributename-
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 voidapply(FaceletContext ctx, UIComponent parent)Process changes on a particular UIComponentStringgetFacetName(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:FaceletHandlerProcess changes on a particular UIComponent
- Specified by:
applyin 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:FacetHandlerReturns the resolved literal String value of the facet name after evaluating EL.
- Specified by:
getFacetNamein interfaceFacetHandler- Parameters:
ctxt- theFaceletContextfor this view execution- Returns:
- the resolved literal String value of the facet name.
-
-