myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haz...@apache.org
Subject svn commit: r666627 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/subform/SubFormRenderer.java
Date Wed, 11 Jun 2008 12:07:58 GMT
Author: hazems
Date: Wed Jun 11 05:07:58 2008
New Revision: 666627

URL: http://svn.apache.org/viewvc?rev=666627&view=rev
Log:
A fix for ([TOMAHAWK-1279] The Partial condition of the subform sandbox component is not working.)

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/subform/SubFormRenderer.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/subform/SubFormRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/subform/SubFormRenderer.java?rev=666627&r1=666626&r2=666627&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/subform/SubFormRenderer.java
(original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/subform/SubFormRenderer.java
Wed Jun 11 05:07:58 2008
@@ -18,10 +18,17 @@
  */
 package org.apache.myfaces.custom.subform;
 
+import org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils;
+import org.apache.myfaces.shared_tomahawk.renderkit.html.HTML;
 import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer;
+import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils;
+import org.apache.myfaces.shared_tomahawk.renderkit.html.util.FormInfo;
 
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+import java.io.IOException;
 import java.util.Map;
 
 /**
@@ -37,10 +44,10 @@
  */
 public class SubFormRenderer extends HtmlRenderer
 {
-    // private static final String SUBMIT_FUNCTION_SUFFIX = "_submit";
+    private static final String SUBMIT_FUNCTION_SUFFIX = "_submit";
     private static final String HIDDEN_PARAM_NAME = "org.apache.myfaces.custom.subform.submittedId";
 
-	/*
+	
     public void encodeBegin(FacesContext context, UIComponent component) throws IOException
     {
         super.encodeBegin(context, component);
@@ -60,7 +67,7 @@
         writer.endElement(org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.SCRIPT_ELEM);
         HtmlRendererUtils.writePrettyLineSeparator(context);
     }
-    */
+    
 
     public void decode(FacesContext context, UIComponent component)
     {
@@ -74,7 +81,7 @@
         }
     }
 
-    /*
+    
     protected String createPartialSubmitJS(String subFormId, String parentFormClientId)
     {
         StringBuffer script = new StringBuffer();
@@ -92,6 +99,5 @@
 
         return script.toString();
     }
-     */
 
 }



Mime
View raw message