org.apache.myfaces.tomahawk.application
Class PreRenderViewAddResourceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.SystemEvent
          extended by javax.faces.event.ComponentSystemEvent
              extended by org.apache.myfaces.tomahawk.application.PreRenderViewAddResourceEvent
All Implemented Interfaces:
Serializable

public class PreRenderViewAddResourceEvent
extends javax.faces.event.ComponentSystemEvent

This event is triggered after PreRenderViewEvent but before ViewHandler.render, to give the chance to component to add resources to the current view before render occur.

The component resources to be added are supposed to be transient, so each time before the view will be rendered, this event will be published and the resources will be on the page.

This event should be propagated only for the "real" component tree, that means for a datatable component it should to traverse all rows.

Since:
1.1.10
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PreRenderViewAddResourceEvent(javax.faces.component.UIComponent component)
           
 
Method Summary
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
           
 
Methods inherited from class javax.faces.event.ComponentSystemEvent
getComponent
 
Methods inherited from class javax.faces.event.SystemEvent
processListener
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreRenderViewAddResourceEvent

public PreRenderViewAddResourceEvent(javax.faces.component.UIComponent component)
Method Detail

isAppropriateListener

public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
Overrides:
isAppropriateListener in class javax.faces.event.SystemEvent


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