Class RenderFacetHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- jakarta.faces.view.facelets.MetaTagHandler
-
- jakarta.faces.view.facelets.DelegatingMetaTagHandler
-
- jakarta.faces.view.facelets.ComponentHandler
-
- org.apache.myfaces.view.facelets.tag.composite.RenderFacetHandler
-
- All Implemented Interfaces:
FaceletHandler
@JSFFaceletTag(name="composite:renderFacet") public class RenderFacetHandler extends ComponentHandler
Render the facet defined on the composite component body to the current location- Version:
- $Revision$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
-
-
Field Summary
Fields Modifier and Type Field Description protected TagAttribute
_name
The name that identify the current facet.protected TagAttribute
_required
Define if the facet to be inserted is required or not for every instance of this composite component.static String
RENDER_FACET_USED
-
Fields inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description RenderFacetHandler(ComponentConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(FaceletContext ctx, UIComponent parent)
void
onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)
-
Methods inherited from class jakarta.faces.view.facelets.ComponentHandler
createComponent, getComponentConfig, getTagHandlerDelegate, isNew, onComponentCreated
-
Methods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Field Detail
-
RENDER_FACET_USED
public static final String RENDER_FACET_USED
- See Also:
- Constant Field Values
-
_name
@JSFFaceletAttribute(name="name", className="jakarta.el.ValueExpression", deferredValueType="java.lang.String", required=true) protected final TagAttribute _name
The name that identify the current facet.
-
_required
@JSFFaceletAttribute(name="required", className="jakarta.el.ValueExpression", deferredValueType="boolean") protected final TagAttribute _required
Define if the facet to be inserted is required or not for every instance of this composite component.
-
-
Constructor Detail
-
RenderFacetHandler
public RenderFacetHandler(ComponentConfig config)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
- Specified by:
apply
in interfaceFaceletHandler
- Overrides:
apply
in classDelegatingMetaTagHandler
- Throws:
IOException
-
onComponentPopulated
public void onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)
- Overrides:
onComponentPopulated
in classComponentHandler
-
-