public class PassThroughElementComponentHandler
extends jakarta.faces.view.facelets.ComponentHandler
| Constructor and Description |
|---|
PassThroughElementComponentHandler(jakarta.faces.view.facelets.ComponentConfig config) |
| Modifier and Type | Method and Description |
|---|---|
jakarta.faces.component.UIComponent |
createComponent(jakarta.faces.view.facelets.FaceletContext ctx)
Subclasses that wish to take over the task of instantiating the |
protected jakarta.faces.view.facelets.TagAttribute |
getRequiredPassthroughAttribute(String localName) |
void |
onComponentCreated(jakarta.faces.view.facelets.FaceletContext ctx,
jakarta.faces.component.UIComponent c,
jakarta.faces.component.UIComponent parent)
This method is guaranteed to be called after the component has been created but before it has been populated with children. |
getComponentConfig, getTagHandlerDelegate, isNew, onComponentPopulatedapply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributespublic PassThroughElementComponentHandler(jakarta.faces.view.facelets.ComponentConfig config)
protected final jakarta.faces.view.facelets.TagAttribute getRequiredPassthroughAttribute(String localName) throws jakarta.faces.view.facelets.TagException
jakarta.faces.view.facelets.TagExceptionpublic jakarta.faces.component.UIComponent createComponent(jakarta.faces.view.facelets.FaceletContext ctx)
jakarta.faces.view.facelets.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. A null return from this method will cause the
TagHandlerDelegate for instance to create the component instead.
createComponent in class jakarta.faces.view.facelets.ComponentHandlerctx - the FaceletContext for this view executionUIComponentpublic void onComponentCreated(jakarta.faces.view.facelets.FaceletContext ctx,
jakarta.faces.component.UIComponent c,
jakarta.faces.component.UIComponent parent)
jakarta.faces.view.facelets.ComponentHandlerThis method is guaranteed to be called after the component has been created but before it has been populated with children.
onComponentCreated in class jakarta.faces.view.facelets.ComponentHandlerctx - the FaceletContext for this view executionc - the UIComponent that has just been created.parent - the parent UIComponent of the component represented by this element instance.Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.