org.apache.myfaces.view.facelets.tag.jsf
Class BehaviorTagHandlerDelegate
java.lang.Object
javax.faces.view.facelets.TagHandlerDelegate
org.apache.myfaces.view.facelets.tag.jsf.BehaviorTagHandlerDelegate
- All Implemented Interfaces:
- AttachedObjectHandler, BehaviorHolderAttachedObjectHandler
public class BehaviorTagHandlerDelegate
- extends TagHandlerDelegate
- implements BehaviorHolderAttachedObjectHandler
- Since:
- 2.0
- Version:
- $Revision: 1194861 $ $Date: 2011-10-29 05:02:34 -0500 (Sat, 29 Oct 2011) $
- Author:
- Leonardo Uribe (latest modification by $Author: struberg $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BehaviorTagHandlerDelegate
public BehaviorTagHandlerDelegate(BehaviorHandler delegate)
apply
public void apply(FaceletContext ctx,
UIComponent parent)
throws IOException
- Specified by:
apply
in class TagHandlerDelegate
- 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:
createMetaRuleset
in class TagHandlerDelegate
applyAttachedObject
public void applyAttachedObject(FacesContext context,
UIComponent parent)
- Create a ClientBehavior and attach it to the component
- Specified by:
applyAttachedObject
in interface AttachedObjectHandler
getFor
public String getFor()
- Specified by:
getFor
in interface AttachedObjectHandler
getEventName
public String getEventName()
- Specified by:
getEventName
in interface BehaviorHolderAttachedObjectHandler
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.