Package com.sun.faces.facelets.tag.jsf
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.jsf.PassThroughElementComponentHandler
- All Implemented Interfaces:
FaceletHandler
public class PassThroughElementComponentHandler extends ComponentHandler
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PassThroughElementComponentHandler(ComponentConfig config)
-
Method Summary
Modifier and Type Method Description UIComponent
createComponent(FaceletContext ctx)
Subclasses that wish to take over the task of instantiating theUIComponent
instance corresponding to this tag handler my override this method to do so.protected TagAttribute
getRequiredPassthroughAttribute(String localName)
void
onComponentCreated(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, onComponentPopulated
Methods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
Method Details
-
getRequiredPassthroughAttribute
- Throws:
TagException
-
createComponent
Description copied from class:ComponentHandler
Subclasses that wish to take over the task of instantiating the
UIComponent
instance corresponding to this tag handler my override this method to do so. Anull
return from this method will cause theTagHandlerDelegate
for instance to create the component instead.- Overrides:
createComponent
in classComponentHandler
- Parameters:
ctx
- theFaceletContext
for this view execution- Returns:
- the newly created
UIComponent
-
onComponentCreated
Description copied from class:ComponentHandler
This method is guaranteed to be called after the component has been created but before it has been populated with children.
- Overrides:
onComponentCreated
in classComponentHandler
- Parameters:
ctx
- theFaceletContext
for this view executionc
- theUIComponent
that has just been created.parent
- the parentUIComponent
of the component represented by this element instance.
-