myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r548217 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java
Date Mon, 18 Jun 2007 05:13:21 GMT
Author: mmarinschek
Date: Sun Jun 17 22:13:21 2007
New Revision: 548217

URL: http://svn.apache.org/viewvc?view=rev&rev=548217
Log:
fix for TOMAHAWK-974: pprPanelGroup doesn't work in dataTable - added a comment  to use invokeOnComponent
from 1.2 on

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java?view=diff&rev=548217&r1=548216&r2=548217
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java
(original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java
Sun Jun 17 22:13:21 2007
@@ -168,11 +168,18 @@
 			throw new IllegalArgumentException("'id' is a required attribute for the PPRPanelGroup");
 		}
 
+        //todo: in 1.2, better use a combo of invokeComponent/RendererUtils.renderChildren()
instead
         uiComponent.getAttributes().put(DISABLE_RENDER_CHILDREN,Boolean.TRUE);
 
         super.encodeBegin(facesContext, uiComponent);
 	}
 
+    /** todo: in 1.2, better use a combo of invokeComponent/RendererUtils.renderChildren()
instead
+     *
+     * @param context
+     * @param component
+     * @throws IOException
+     */
     public void encodeChildren(FacesContext context, UIComponent component)
         throws IOException
     {
@@ -197,6 +204,7 @@
 			}
 		}
 
+        //todo: in 1.2, better use a combo of invokeComponent/RendererUtils.renderChildren()
instead
         uiComponent.getAttributes().put(DISABLE_RENDER_CHILDREN,Boolean.FALSE);
     }
 



Mime
View raw message