- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.faces.webapp.FacetTag
-
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class FacetTag extends TagSupport
FacetTag is the JSP mechanism for denoting a
UIComponent
is to be added as afacet
to the component associated with its parent.A FacetTag must have one and only one child. This child must be a
UIComponentTag
instance representing a singleUIComponent
instance.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
-
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
-
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
-
Constructor Summary
Constructors Constructor and Description FacetTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
doStartTag()
ReturnEVAL_BODY_INCLUDE
to cause nested body content to be evaluated.String
getName()
Return the name to be assigned to this facet.void
release()
Release any resources allocated by this tag instance.void
setName(String name)
Set the name to be assigned to this facet.-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
getName
public String getName()
Return the name to be assigned to this facet.
-
setName
public void setName(String name)
Set the name to be assigned to this facet.
- Parameters:
name
- The new facet name
-
release
public void release()
Release any resources allocated by this tag instance.
- Specified by:
release
in interfaceTag
- Overrides:
release
in classTagSupport
- See Also:
Tag.release()
-
doStartTag
public int doStartTag() throws JspException
Return
EVAL_BODY_INCLUDE
to cause nested body content to be evaluated.- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Returns:
- SKIP_BODY
- Throws:
JspException
- if an error occurs while processing this tag- See Also:
Tag.doStartTag()
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/faces/webapp/FacetTag.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.