- java.lang.Object
-
- javax.faces.view.facelets.TagHandler
-
- javax.faces.view.facelets.MetaTagHandler
-
- javax.faces.view.facelets.DelegatingMetaTagHandler
-
- javax.faces.view.facelets.FaceletsAttachedObjectHandler
-
- All Implemented Interfaces:
- AttachedObjectHandler, FaceletHandler
- Direct Known Subclasses:
- BehaviorHandler, ConverterHandler, ValidatorHandler
public abstract class FaceletsAttachedObjectHandler extends DelegatingMetaTagHandler implements AttachedObjectHandler
Root class for all tag handlers that represent attached objetcts in a Facelets page.
-
-
Field Summary
-
Fields inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
-
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor and Description FaceletsAttachedObjectHandler(TagConfig config)
Call through to super
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
applyAttachedObject(FacesContext ctx, UIComponent parent)
Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argument
parent
.protected AttachedObjectHandler
getAttachedObjectHandlerHelper()
Return the underlying handler for this tag handler instance.
String
getFor()
Return the value of the "for" attribute.
-
Methods inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagHandlerDelegate, getTagId, isDisabled, setAttributes
-
Methods inherited from class javax.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Constructor Detail
-
FaceletsAttachedObjectHandler
public FaceletsAttachedObjectHandler(TagConfig config)
Call through to super
- Parameters:
config
- configure this handler instance
-
-
Method Detail
-
getAttachedObjectHandlerHelper
protected final AttachedObjectHandler getAttachedObjectHandlerHelper()
Return the underlying handler for this tag handler instance.
-
applyAttachedObject
public final void applyAttachedObject(FacesContext ctx, UIComponent parent)
Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argument
parent
.- Specified by:
applyAttachedObject
in interfaceAttachedObjectHandler
- Parameters:
ctx
- theFacesContext
for this requestparent
- TheUIComponent
to which this attached object must be applied.
-
getFor
public final String getFor()
Return the value of the "for" attribute. This enables the runtime to know to which inner component this attached object should be retargeted.
- Specified by:
getFor
in interfaceAttachedObjectHandler
-
-
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
22/08/2025 03:13:11 Cette version de la page est en cache (à la date du 22/08/2025 03:13:11) 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 11/06/2005, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/faces/view/facelets/faceletsattachedobjecthandler.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.