public class PassThroughElementComponentHandler
extends javax.faces.view.facelets.ComponentHandler
Constructor and Description |
---|
PassThroughElementComponentHandler(javax.faces.view.facelets.ComponentConfig config) |
Modifier and Type | Method and Description |
---|---|
javax.faces.component.UIComponent |
createComponent(javax.faces.view.facelets.FaceletContext ctx)
Subclasses that wish to take over
the task of instantiating the |
protected javax.faces.view.facelets.TagAttribute |
getRequiredPassthroughAttribute(String localName) |
void |
onComponentCreated(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent c,
javax.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, onComponentPopulated
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
public PassThroughElementComponentHandler(javax.faces.view.facelets.ComponentConfig config)
protected final javax.faces.view.facelets.TagAttribute getRequiredPassthroughAttribute(String localName) throws javax.faces.view.facelets.TagException
javax.faces.view.facelets.TagException
public javax.faces.component.UIComponent createComponent(javax.faces.view.facelets.FaceletContext ctx)
javax.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 javax.faces.view.facelets.ComponentHandler
ctx
- the FaceletContext
for this view executionUIComponent
public void onComponentCreated(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent c, javax.faces.component.UIComponent parent)
javax.faces.view.facelets.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 javax.faces.view.facelets.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.Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.