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 TagHandlerDelegateIOExceptionprotected Behavior createBehavior(FaceletContext ctx)
public MetaRuleset createMetaRuleset(Class type)
createMetaRuleset in class TagHandlerDelegatepublic void applyAttachedObject(FacesContext context, UIComponent parent)
applyAttachedObject in interface AttachedObjectHandlerpublic String getFor()
getFor in interface AttachedObjectHandlerpublic String getEventName()
getEventName in interface BehaviorHolderAttachedObjectHandlerCopyright © 2022 The Apache Software Foundation. All rights reserved.