@Deprecated public class ComponentHandler extends MetaTagHandler
nextHandler, tag, tagId| Constructor and Description | 
|---|
| ComponentHandler(ComponentConfig config)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(FaceletContext ctx,
     UIComponent parent)Deprecated.  Method handles UIComponent tree creation in accordance with the JSF 1.2 spec. | 
| protected void | applyNextHandler(FaceletContext ctx,
                UIComponent c)Deprecated.  | 
| protected UIComponent | createComponent(FaceletContext ctx)Deprecated.  If the binding attribute was specified, use that in conjuction with our componentType String variable to call
 createComponent on the Application, otherwise just pass the componentType String. | 
| protected MetaRuleset | createMetaRuleset(Class type)Deprecated.  | 
| protected String | getFacetName(FaceletContext ctx,
            UIComponent parent)Deprecated.  Return the Facet name we are scoped in, otherwise null | 
| protected String | getId(FaceletContext ctx)Deprecated.  If the id TagAttribute was specified, get it's value, otherwise generate a unique id from our tagId. | 
| protected void | onComponentCreated(FaceletContext ctx,
                  UIComponent c,
                  UIComponent parent)Deprecated.  A hook method for allowing developers to do additional processing once Facelets creates the component. | 
| protected void | onComponentPopulated(FaceletContext ctx,
                    UIComponent c,
                    UIComponent parent)Deprecated.  | 
setAttributesgetAttribute, getRequiredAttribute, toStringpublic ComponentHandler(ComponentConfig config)
public final void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, jakarta.el.ELException
getId(FaceletContext).TagException - if the UIComponent parent is nullIOExceptionFacesExceptionjakarta.el.ELExceptionprotected final String getFacetName(FaceletContext ctx, UIComponent parent)
ctx - protected UIComponent createComponent(FaceletContext ctx)
If the binding was used, then set the ValueExpression "binding" on the created UIComponent.
See Application#createComponent(jakarta.faces.el.ValueBinding, jakarta.faces.context.FacesContext, java.lang.String) See Application#createComponent(java.lang.String)ctx - FaceletContext to use in creating a componentprotected String getId(FaceletContext ctx)
ctx - FaceletContext to useprotected MetaRuleset createMetaRuleset(Class type)
createMetaRuleset in class MetaTagHandlerprotected void onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
ctx - c - parent - protected void onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)
protected void applyNextHandler(FaceletContext ctx, UIComponent c) throws IOException, FacesException, jakarta.el.ELException
IOExceptionFacesExceptionjakarta.el.ELExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.