public class BehaviorTagHandlerDelegate extends TagHandlerDelegate implements BehaviorHolderAttachedObjectHandler
Constructor and Description |
---|
BehaviorTagHandlerDelegate(BehaviorHandler delegate) |
Modifier and Type | Method and Description |
---|---|
void |
apply(FaceletContext ctx,
UIComponent parent) |
void |
applyAttachedObject(FacesContext context,
UIComponent parent)
Create a ClientBehavior and attach it to the component
|
protected Behavior |
createBehavior(FaceletContext ctx) |
MetaRuleset |
createMetaRuleset(Class type)
This tag call _delegate.setAttributes, so the returned MetaRuleset
should ignore attributes that are not supposed to be there like
"binding" and "event"
|
String |
getEventName() |
String |
getFor() |
public BehaviorTagHandlerDelegate(BehaviorHandler delegate)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
apply
in class TagHandlerDelegate
IOException
protected Behavior createBehavior(FaceletContext ctx)
public MetaRuleset createMetaRuleset(Class type)
createMetaRuleset
in class TagHandlerDelegate
public void applyAttachedObject(FacesContext context, UIComponent parent)
applyAttachedObject
in interface AttachedObjectHandler
public String getFor()
getFor
in interface AttachedObjectHandler
public String getEventName()
getEventName
in interface BehaviorHolderAttachedObjectHandler
Copyright © 2020 The Apache Software Foundation. All rights reserved.