public class PassThroughElementComponentHandler extends ComponentHandler
delegateFactory
nextHandler, tag, tagId
Constructor and Description |
---|
PassThroughElementComponentHandler(ComponentConfig config) |
Modifier and Type | Method and Description |
---|---|
UIComponent |
createComponent(FaceletContext ctx)
Subclasses that wish to take over
the task of instantiating the |
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. |
getComponentConfig, getTagHandlerDelegate, isNew, onComponentPopulated
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
getAttribute, getRequiredAttribute, toString
public PassThroughElementComponentHandler(ComponentConfig config)
protected final TagAttribute getRequiredPassthroughAttribute(String localName) throws TagException
TagException
public UIComponent createComponent(FaceletContext ctx)
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 ComponentHandler
ctx
- the FaceletContext
for this view executionUIComponent
public void onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
ComponentHandler
This method is guaranteed to be called after the component has been created but before it has been populated with children.
onComponentCreated
in class ComponentHandler
ctx
- 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.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.