Module jakarta.faces
Package com.sun.faces.facelets.tag.faces
Class PassThroughElementComponentHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
jakarta.faces.view.facelets.MetaTagHandler
jakarta.faces.view.facelets.DelegatingMetaTagHandler
jakarta.faces.view.facelets.ComponentHandler
com.sun.faces.facelets.tag.faces.PassThroughElementComponentHandler
- All Implemented Interfaces:
FaceletHandler
-
Field Summary
Fields inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
delegateFactoryFields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSubclasses that wish to take over the task of instantiating theUIComponentinstance corresponding to this tag handler my override this method to do so.protected final TagAttributegetRequiredPassthroughAttribute(String localName) voidonComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent) This method is guaranteed to be called after the component has been created but before it has been populated with children.Methods inherited from class jakarta.faces.view.facelets.ComponentHandler
getComponentConfig, getTagHandlerDelegate, isNew, onComponentPopulatedMethods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributesMethods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
PassThroughElementComponentHandler
-
-
Method Details
-
getRequiredPassthroughAttribute
- Throws:
TagException
-
createComponent
Description copied from class:ComponentHandlerSubclasses that wish to take over the task of instantiating the
UIComponentinstance corresponding to this tag handler my override this method to do so. Anullreturn from this method will cause theTagHandlerDelegatefor instance to create the component instead.- Overrides:
createComponentin classComponentHandler- Parameters:
ctx- theFaceletContextfor this view execution- Returns:
- the newly created
UIComponent
-
onComponentCreated
Description copied from class:ComponentHandlerThis method is guaranteed to be called after the component has been created but before it has been populated with children.
- Overrides:
onComponentCreatedin classComponentHandler- Parameters:
ctx- theFaceletContextfor this view executionc- theUIComponentthat has just been created.parent- the parentUIComponentof the component represented by this element instance.
-