@JSFFaceletTag public abstract class AttachedObjectTargetHandler<T extends AttachedObjectTarget> extends TagHandler
Modifier and Type | Field and Description |
---|---|
protected TagAttribute |
_name
Indicate the name of the attribute that the component should expose
to page authors.
|
protected TagAttribute |
_targets |
nextHandler, tag, tagId
Constructor and Description |
---|
AttachedObjectTargetHandler(TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(FaceletContext ctx,
UIComponent parent) |
protected abstract T |
createAttachedObjectTarget(FaceletContext ctx)
Create a new AttachedObjectTarget instance to be added on the
target list.
|
boolean |
isCacheable() |
void |
setCacheable(boolean cacheable) |
getAttribute, getRequiredAttribute, toString
@JSFFaceletAttribute(name="name", className="javax.el.ValueExpression", deferredValueType="java.lang.String", required=true) protected final TagAttribute _name
@JSFFaceletAttribute(name="targets", className="javax.el.ValueExpression", deferredValueType="java.lang.String") protected final TagAttribute _targets
public AttachedObjectTargetHandler(TagConfig config)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
apply
in interface FaceletHandler
IOException
public boolean isCacheable()
public void setCacheable(boolean cacheable)
protected abstract T createAttachedObjectTarget(FaceletContext ctx)
Copyright © 2020 The Apache Software Foundation. All rights reserved.