@JSFFaceletTag(name="composite:clientBehavior") public class ClientBehaviorHandler extends TagHandler
| Modifier and Type | Field and Description | 
|---|---|
| protected TagAttribute | _defaultIndicate this clientBehavior description is the one
 that has to be taken by default. | 
| protected TagAttribute | _eventThis attribute is used as the target event 
 name, so client behaviors pointing to "name" 
 will be attached on the related components 
 identified by "targets" attribute and on 
 the event name this attribute holds. | 
| protected TagAttribute | _nameThis attribute represents the source event name 
 that is used when instances of the composite 
 component are used. | 
| protected TagAttribute | _targetsContains a list of clientIds separated by spaces that 
 identify the component(s) that will be used to attach 
 client behaviors from the composite component. | 
nextHandler, tag, tagId| Constructor and Description | 
|---|
| ClientBehaviorHandler(TagConfig config) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(FaceletContext ctx,
     UIComponent parent) | 
| protected ClientBehaviorAttachedObjectTargetImpl | 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="event",
                     className="jakarta.el.ValueExpression",
                     deferredValueType="java.lang.String",
                     required=true)
protected final TagAttribute _event
@JSFFaceletAttribute(name="name",
                     className="jakarta.el.ValueExpression",
                     deferredValueType="java.lang.String",
                     required=true)
protected final TagAttribute _name
@JSFFaceletAttribute(name="default",
                     className="jakarta.el.ValueExpression",
                     deferredValueType="boolean")
protected final TagAttribute _default
@JSFFaceletAttribute(name="targets",
                     className="jakarta.el.ValueExpression",
                     deferredValueType="java.lang.String")
protected final TagAttribute _targets
public ClientBehaviorHandler(TagConfig config)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
apply in interface FaceletHandlerIOExceptionpublic boolean isCacheable()
public void setCacheable(boolean cacheable)
protected ClientBehaviorAttachedObjectTargetImpl createAttachedObjectTarget(FaceletContext ctx)
Copyright © 2022 The Apache Software Foundation. All rights reserved.