Class ComponentResourceDelegate
java.lang.Object
jakarta.faces.view.facelets.TagHandlerDelegate
com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl
com.sun.faces.facelets.tag.jsf.html.ComponentResourceDelegate
- Direct Known Subclasses:
ScriptResourceDelegate,StylesheetResourceDelegate
public abstract class ComponentResourceDelegate extends ComponentTagHandlerDelegateImpl
This class overrides key methods from
ComponentTagHandlerDelegateImpl in 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.jsf.ComponentTagHandlerDelegateImpl
componentType, id -
Constructor Summary
Constructors Constructor Description ComponentResourceDelegate(ComponentHandler owner) -
Method Summary
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.jsf.ComponentTagHandlerDelegateImpl
apply, assignUniqueId, createMetaRuleset, doExistingComponentActions, doNewComponentActions, findReparentedComponent, isIterating, popComponentFromEL, pushComponentToEL
-
Constructor Details
-
Method Details
-
findChild
- Overrides:
findChildin classComponentTagHandlerDelegateImpl
-
addComponentToView
protected void addComponentToView(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound)- Overrides:
addComponentToViewin classComponentTagHandlerDelegateImpl
-
doOrphanedChildCleanup
- Overrides:
doOrphanedChildCleanupin classComponentTagHandlerDelegateImpl
-
getLocationTarget
-
getAttribute
-