Class InsertFacetHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- org.apache.myfaces.view.facelets.tag.composite.InsertFacetHandler
-
- All Implemented Interfaces:
FaceletHandler
@JSFFaceletTag(name="composite:insertFacet") public class InsertFacetHandler extends TagHandler
Insert or move the facet from the composite component body to the expected 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
INSERT_FACET_KEYS
Key used to save on bean descriptor a map containing the metadata information related to this tag.static String
INSERT_FACET_USED
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description InsertFacetHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(FaceletContext ctx, UIComponent parent)
String
getFacetName(FaceletContext ctx)
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Field Detail
-
INSERT_FACET_USED
public static final String INSERT_FACET_USED
- See Also:
- Constant Field Values
-
INSERT_FACET_KEYS
public static final String INSERT_FACET_KEYS
Key used to save on bean descriptor a map containing the metadata information related to this tag. It will be used later to check "required" property.- 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
-
InsertFacetHandler
public InsertFacetHandler(TagConfig config)
-
-
Method Detail
-
getFacetName
public String getFacetName(FaceletContext ctx)
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
- Throws:
IOException
-
-