Class ComponentResourceDelegate
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandlerDelegate
-
- com.sun.faces.facelets.tag.faces.ComponentTagHandlerDelegateImpl
-
- com.sun.faces.facelets.tag.faces.html.ComponentResourceDelegate
-
- Direct Known Subclasses:
ScriptResourceDelegate,StylesheetResourceDelegate
public abstract class ComponentResourceDelegate extends ComponentTagHandlerDelegateImpl
This class overrides key methods fromComponentTagHandlerDelegateImplin order to properly find existing component resources as well as properly handling the case when this concrete implementations of this class are applied more than once for a particular request.
-
-
Field Summary
-
Fields inherited from class com.sun.faces.facelets.tag.faces.ComponentTagHandlerDelegateImpl
componentType, id
-
-
Constructor Summary
Constructors Constructor Description ComponentResourceDelegate(ComponentHandler owner)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddComponentToView(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound)protected voiddoOrphanedChildCleanup(FaceletContext ctx, UIComponent parent, UIComponent c)protected UIComponentfindChild(FaceletContext ctx, UIComponent parent, String tagId)protected TagAttributegetAttribute(String name)protected abstract StringgetLocationTarget(FaceletContext ctx)-
Methods inherited from class com.sun.faces.facelets.tag.faces.ComponentTagHandlerDelegateImpl
apply, assignUniqueId, createMetaRuleset, doExistingComponentActions, doNewComponentActions, findReparentedComponent, isIterating, popComponentFromEL, pushComponentToEL
-
-
-
-
Constructor Detail
-
ComponentResourceDelegate
public ComponentResourceDelegate(ComponentHandler owner)
-
-
Method Detail
-
findChild
protected UIComponent findChild(FaceletContext ctx, UIComponent parent, String tagId)
- Overrides:
findChildin classComponentTagHandlerDelegateImpl
-
addComponentToView
protected void addComponentToView(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound)
- Overrides:
addComponentToViewin classComponentTagHandlerDelegateImpl
-
doOrphanedChildCleanup
protected void doOrphanedChildCleanup(FaceletContext ctx, UIComponent parent, UIComponent c)
- Overrides:
doOrphanedChildCleanupin classComponentTagHandlerDelegateImpl
-
getLocationTarget
protected abstract String getLocationTarget(FaceletContext ctx)
-
getAttribute
protected TagAttribute getAttribute(String name)
-
-