- 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()
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/08/2025 17:02:41 Cette version de la page est en cache (à la date du 21/08/2025 17:02:41) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 05/01/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/faces/webapp/FacetTag.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.