You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by gv...@apache.org on 2006/02/04 16:31:59 UTC

svn commit: r374882 - in /struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component: Clay.java chain/PropertyActionCommand.java

Author: gvanmatre
Date: Sat Feb  4 07:31:40 2006
New Revision: 374882

URL: http://svn.apache.org/viewcvs?rev=374882&view=rev
Log:
Corrected indentation and unused import. 

Modified:
    struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java
    struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java

Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java?rev=374882&r1=374881&r2=374882&view=diff
==============================================================================
--- struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java (original)
+++ struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/Clay.java Sat Feb  4 07:31:40 2006
@@ -373,17 +373,17 @@
             Iterator ci = child.getChildren().iterator();
             while (ci.hasNext()) {
                 UIComponent c = (UIComponent) ci.next();
-				if (c.isRendered()) {
-					c.encodeBegin(context);
-					
-					if (!c.getRendersChildren())
-						recursiveRenderChildren(c, context);
-					else
-						c.encodeChildren(context);
-					
-					c.encodeEnd(context);
-					c = null;
-				}
+                if (c.isRendered()) {
+                    c.encodeBegin(context);
+                    
+                    if (!c.getRendersChildren())
+                        recursiveRenderChildren(c, context);
+                    else
+                        c.encodeChildren(context);
+                    
+                    c.encodeEnd(context);
+                    c = null;
+                }
             }
         } else {
             // let the component handle iterating over the children

Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java?rev=374882&r1=374881&r2=374882&view=diff
==============================================================================
--- struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java (original)
+++ struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/component/chain/PropertyActionCommand.java Sat Feb  4 07:31:40 2006
@@ -21,7 +21,6 @@
 import javax.faces.component.ActionSource;
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
-import javax.faces.webapp.UIComponentTag;
 
 import org.apache.commons.chain.Command;
 import org.apache.commons.chain.Context;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org