You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jc...@apache.org on 2010/06/03 10:47:59 UTC
svn commit: r950913 -
/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java
Author: jcompagner
Date: Thu Jun 3 08:47:58 2010
New Revision: 950913
URL: http://svn.apache.org/viewvc?rev=950913&view=rev
Log:
removed 2 log/debug statements
Modified:
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java
Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java?rev=950913&r1=950912&r2=950913&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java Thu Jun 3 08:47:58 2010
@@ -58,8 +58,8 @@ import org.apache.wicket.util.lang.Bytes
import org.apache.wicket.util.string.AppendingStringBuffer;
import org.apache.wicket.util.string.Strings;
import org.apache.wicket.util.string.interpolator.MapVariableInterpolator;
-import org.apache.wicket.util.upload.FileUploadException;
import org.apache.wicket.util.upload.FileUploadBase.SizeLimitExceededException;
+import org.apache.wicket.util.upload.FileUploadException;
import org.apache.wicket.validation.IValidatorAddListener;
import org.apache.wicket.version.undo.Change;
import org.slf4j.Logger;
@@ -707,8 +707,12 @@ public class Form<T> extends WebMarkupCo
{
Form<?> root = getRootForm();
return new AppendingStringBuffer("document.getElementById('").append(
- root.getHiddenFieldId()).append("').value='").append(url).append(
- "';document.getElementById('").append(root.getMarkupId()).append("').submit();");
+ root.getHiddenFieldId())
+ .append("').value='")
+ .append(url)
+ .append("';document.getElementById('")
+ .append(root.getMarkupId())
+ .append("').submit();");
}
/**
@@ -1272,7 +1276,6 @@ public class Form<T> extends WebMarkupCo
{
public Object component(final Component component)
{
- log.error("1: " + component.getPageRelativePath());
return visitor.component(component);
}
});
@@ -1290,7 +1293,6 @@ public class Form<T> extends WebMarkupCo
return Component.IVisitor.CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER;
}
- log.error("2: " + component.getPageRelativePath());
return visitor.component(component);
}
});
@@ -1969,8 +1971,11 @@ public class Form<T> extends WebMarkupCo
{
String[] pair = params[j].split("=");
- buffer.append("<input type=\"hidden\" name=\"").append(recode(pair[0])).append(
- "\" value=\"").append(pair.length > 1 ? recode(pair[1]) : "").append("\" />");
+ buffer.append("<input type=\"hidden\" name=\"")
+ .append(recode(pair[0]))
+ .append("\" value=\"")
+ .append(pair.length > 1 ? recode(pair[1]) : "")
+ .append("\" />");
}
}