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: 882415 $ $Date: 2009-11-19 23:59:57 -0500 (Thu, 19 Nov 2009) $
- Author:
- Leonardo Uribe (latest modification by $Author: lu4242 $)
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 java.io.IOException
- Specified by:
apply
in class TagHandlerDelegate
- Throws:
java.io.IOException
createBehavior
protected Behavior createBehavior(FaceletContext ctx)
createMetaRuleset
public MetaRuleset createMetaRuleset(java.lang.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 java.lang.String getFor()
- Specified by:
getFor
in interface AttachedObjectHandler
getEventName
public java.lang.String getEventName()
- Specified by:
getEventName
in interface BehaviorHolderAttachedObjectHandler
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.