Class AttachedObjectTargetHandler<T extends AttachedObjectTarget>
- java.lang.Object
- 
- jakarta.faces.view.facelets.TagHandler
- 
- org.apache.myfaces.view.facelets.tag.composite.AttachedObjectTargetHandler<T>
 
 
- 
- All Implemented Interfaces:
- FaceletHandler
 - Direct Known Subclasses:
- ActionSourceHandler,- EditableValueHolderHandler,- ValueHolderHandler
 
 @JSFFaceletTag public abstract class AttachedObjectTargetHandler<T extends AttachedObjectTarget> extends TagHandler composite:actionSource, composite:valueHolder and composite:editableValueHolder do the same: register an AttachedObjectTarget on the "targetList" mentioned on ViewDeclarationLanguage.retargetAttachedObjects. AttachedObjectTargetHandler group the common behavior- Version:
- $Revision$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected TagAttribute_nameIndicate the name of the attribute that the component should expose to page authors.protected TagAttribute_targets- 
Fields inherited from class jakarta.faces.view.facelets.TagHandlernextHandler, tag, tagId
 
- 
 - 
Constructor SummaryConstructors Constructor Description AttachedObjectTargetHandler(TagConfig config)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidapply(FaceletContext ctx, UIComponent parent)protected abstract TcreateAttachedObjectTarget(FaceletContext ctx)Create a new AttachedObjectTarget instance to be added on the target list.booleanisCacheable()voidsetCacheable(boolean cacheable)- 
Methods inherited from class jakarta.faces.view.facelets.TagHandlergetAttribute, getRequiredAttribute, toString
 
- 
 
- 
- 
- 
Field Detail- 
_name@JSFFaceletAttribute(name="name", className="jakarta.el.ValueExpression", deferredValueType="java.lang.String", required=true) protected final TagAttribute _nameIndicate the name of the attribute that the component should expose to page authors.
 - 
_targets@JSFFaceletAttribute(name="targets", className="jakarta.el.ValueExpression", deferredValueType="java.lang.String") protected final TagAttribute _targets
 
- 
 - 
Constructor Detail- 
AttachedObjectTargetHandlerpublic AttachedObjectTargetHandler(TagConfig config) 
 
- 
 - 
Method Detail- 
applypublic void apply(FaceletContext ctx, UIComponent parent) throws IOException - Specified by:
- applyin interface- FaceletHandler
- Throws:
- IOException
 
 - 
isCacheablepublic boolean isCacheable() 
 - 
setCacheablepublic void setCacheable(boolean cacheable) 
 - 
createAttachedObjectTargetprotected abstract T createAttachedObjectTarget(FaceletContext ctx) Create a new AttachedObjectTarget instance to be added on the target list.- Returns:
 
 
- 
 
-