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 Summary
FieldsModifier and TypeFieldDescriptionprotected final TagAttributeIndicate the name of the attribute that the component should expose to page authors.protected final TagAttributeFields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(FaceletContext ctx, UIComponent parent) protected abstract TCreate a new AttachedObjectTarget instance to be added on the target list.booleanvoidsetCacheable(boolean cacheable) Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Field Details
-
_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 Details
-
AttachedObjectTargetHandler
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFaceletHandler- Throws:
IOException
-
isCacheable
public boolean isCacheable() -
setCacheable
public void setCacheable(boolean cacheable) -
createAttachedObjectTarget
Create a new AttachedObjectTarget instance to be added on the target list.- Returns:
-