Class BehaviorTagHandlerDelegate
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandlerDelegate
-
- org.apache.myfaces.view.facelets.tag.faces.BehaviorTagHandlerDelegate
-
- All Implemented Interfaces:
AttachedObjectHandler,BehaviorHolderAttachedObjectHandler
public class BehaviorTagHandlerDelegate extends TagHandlerDelegate implements BehaviorHolderAttachedObjectHandler
- Since:
- 2.0
- Version:
- $Revision$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
-
-
Constructor Summary
Constructors Constructor Description BehaviorTagHandlerDelegate(BehaviorHandler delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(FaceletContext ctx, UIComponent parent)voidapplyAttachedObject(FacesContext context, UIComponent parent)Create a ClientBehavior and attach it to the componentprotected BehaviorcreateBehavior(FaceletContext ctx)MetaRulesetcreateMetaRuleset(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"StringgetEventName()StringgetFor()
-
-
-
Constructor Detail
-
BehaviorTagHandlerDelegate
public BehaviorTagHandlerDelegate(BehaviorHandler delegate)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
- Specified by:
applyin classTagHandlerDelegate- Throws:
IOException
-
createBehavior
protected Behavior createBehavior(FaceletContext ctx)
-
createMetaRuleset
public 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"- Specified by:
createMetaRulesetin classTagHandlerDelegate
-
applyAttachedObject
public void applyAttachedObject(FacesContext context, UIComponent parent)
Create a ClientBehavior and attach it to the component- Specified by:
applyAttachedObjectin interfaceAttachedObjectHandler
-
getFor
public String getFor()
- Specified by:
getForin interfaceAttachedObjectHandler
-
getEventName
public String getEventName()
- Specified by:
getEventNamein interfaceBehaviorHolderAttachedObjectHandler
-
-