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 void
addComponentToView(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound)
protected void
doOrphanedChildCleanup(FaceletContext ctx, UIComponent parent, UIComponent c)
protected UIComponent
findChild(FaceletContext ctx, UIComponent parent, String tagId)
protected TagAttribute
getAttribute(String name)
protected abstract String
getLocationTarget(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:
findChild
in classComponentTagHandlerDelegateImpl
-
addComponentToView
protected void addComponentToView(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound)- Overrides:
addComponentToView
in classComponentTagHandlerDelegateImpl
-
doOrphanedChildCleanup
- Overrides:
doOrphanedChildCleanup
in classComponentTagHandlerDelegateImpl
-
getLocationTarget
-
getAttribute
-