You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/08/28 22:29:24 UTC
svn commit: r990440 -
/myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/application/PreRenderViewAddResourceEvent.java
Author: lu4242
Date: Sat Aug 28 20:29:23 2010
New Revision: 990440
URL: http://svn.apache.org/viewvc?rev=990440&view=rev
Log:
enhance documentation
Modified:
myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/application/PreRenderViewAddResourceEvent.java
Modified: myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/application/PreRenderViewAddResourceEvent.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/application/PreRenderViewAddResourceEvent.java?rev=990440&r1=990439&r2=990440&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/application/PreRenderViewAddResourceEvent.java (original)
+++ myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/application/PreRenderViewAddResourceEvent.java Sat Aug 28 20:29:23 2010
@@ -28,6 +28,14 @@ import javax.faces.event.SystemEventList
* ViewHandler.render, to give the chance to component to add
* resources to the current view before render occur.
*
+ * <p>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.</p>
+ *
+ * <p>This event should be propagated only for the "real" component tree, that
+ * means for a datatable component it should to traverse all rows.</p>
+ *
+ * @since 1.1.10
*/
public class PreRenderViewAddResourceEvent extends ComponentSystemEvent
{