org.apache.myfaces.view.facelets.tag.composite
Class ClientBehaviorRedirectBehaviorAttachedObjectHandlerWrapper

java.lang.Object
  extended by org.apache.myfaces.view.facelets.tag.composite.ClientBehaviorRedirectBehaviorAttachedObjectHandlerWrapper
All Implemented Interfaces:
FacesWrapper<BehaviorHolderAttachedObjectHandler>, AttachedObjectHandler, BehaviorHolderAttachedObjectHandler

public class ClientBehaviorRedirectBehaviorAttachedObjectHandlerWrapper
extends Object
implements BehaviorHolderAttachedObjectHandler, FacesWrapper<BehaviorHolderAttachedObjectHandler>

This wrapper is used in FaceletViewDeclarationLanguage.retargetAttachedObjects(FacesContext, UIComponent, List<AttachedObjectHandler>) to redirect the client behavior attached object when there is a chain of composite components.

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Leonardo Uribe (latest modification by $Author: bommel $)

Constructor Summary
ClientBehaviorRedirectBehaviorAttachedObjectHandlerWrapper(BehaviorHolderAttachedObjectHandler delegate, String eventName)
           
 
Method Summary
 void applyAttachedObject(FacesContext context, UIComponent parent)
           
 String getEventName()
           
 String getFor()
           
 BehaviorHolderAttachedObjectHandler getWrapped()
           
 String getWrappedEventName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientBehaviorRedirectBehaviorAttachedObjectHandlerWrapper

public ClientBehaviorRedirectBehaviorAttachedObjectHandlerWrapper(BehaviorHolderAttachedObjectHandler delegate,
                                                                  String eventName)
Method Detail

applyAttachedObject

public void applyAttachedObject(FacesContext context,
                                UIComponent parent)
Specified by:
applyAttachedObject in interface AttachedObjectHandler

getEventName

public String getEventName()
Specified by:
getEventName in interface BehaviorHolderAttachedObjectHandler

getWrappedEventName

public String getWrappedEventName()

getFor

public String getFor()
Specified by:
getFor in interface AttachedObjectHandler

getWrapped

public BehaviorHolderAttachedObjectHandler getWrapped()
Specified by:
getWrapped in interface FacesWrapper<BehaviorHolderAttachedObjectHandler>


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.