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
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.faces.ComponentTagHandlerDelegateImpl
componentType, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 StringMethods inherited from class com.sun.faces.facelets.tag.faces.ComponentTagHandlerDelegateImpl
apply, assignUniqueId, createMetaRuleset, doExistingComponentActions, doNewComponentActions, findReparentedComponent, isIterating, popComponentFromEL, pushComponentToEL
-
Constructor Details
-
ComponentResourceDelegate
-
-
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
-