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, onComponentPopulatedapply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributespublic 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.TagExceptionpublic javax.faces.component.UIComponent createComponent(javax.faces.view.facelets.FaceletContext ctx)
javax.faces.view.facelets.ComponentHandlerSubclasses 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.ComponentHandlerctx - the FaceletContext for this view executionUIComponentpublic void onComponentCreated(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent c,
javax.faces.component.UIComponent parent)
javax.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 javax.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–2020 JBoss by Red Hat. All rights reserved.