[portal-commits] JBoss Portal SVN: r6072 - trunk/core-samples/src/main/org/jboss/portal/core/portlet/test.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Mon Jan 22 19:42:45 EST 2007


Author: julien at jboss.com
Date: 2007-01-22 19:42:45 -0500 (Mon, 22 Jan 2007)
New Revision: 6072

Modified:
   trunk/core-samples/src/main/org/jboss/portal/core/portlet/test/EncodingPortlet.java
Log:
minor reformat of encoding portlet

Modified: trunk/core-samples/src/main/org/jboss/portal/core/portlet/test/EncodingPortlet.java
===================================================================
--- trunk/core-samples/src/main/org/jboss/portal/core/portlet/test/EncodingPortlet.java	2007-01-22 21:34:57 UTC (rev 6071)
+++ trunk/core-samples/src/main/org/jboss/portal/core/portlet/test/EncodingPortlet.java	2007-01-23 00:42:45 UTC (rev 6072)
@@ -56,23 +56,23 @@
 
       //
       writer.print(
-         "<div> Text to pass : " +
-            "<form action=\"" + resp.createRenderURL() + "\" method=\"post\"\" accept-charset=\"" + resp.getCharacterEncoding() + "\" >" +
-            "<input type=\"text\" name=\"text\" value=\"\"/>" +
-            "<input type=\"submit\" value=\"Submit to render phase\"/>" +
-            "</form>" +
-            "<form action=\"" + resp.createActionURL() + "\" method=\"post\"\" accept-charset=\"" + resp.getCharacterEncoding() + "\" >" +
-            "<input type=\"text\" name=\"text\" value=\"\"/>" +
-            "<input type=\"submit\" value=\"Submit to action phase\"/>" +
-            "</form>" +
-            "</div>");
+      "<div> Text to pass : " +
+         "<form action=\"" + resp.createRenderURL() + "\" method=\"post\"\">" +
+         "<input type=\"text\" name=\"text\" value=\"\"/>" +
+         "<input type=\"submit\" value=\"Submit to render phase\"/>" +
+         "</form>" +
+         "<form action=\"" + resp.createActionURL() + "\" method=\"post\"\">" +
+         "<input type=\"text\" name=\"text\" value=\"\"/>" +
+         "<input type=\"submit\" value=\"Submit to action phase\"/>" +
+         "</form>" +
+      "</div>");
 
       //
       writer.println(
-         "<div>" + "Text retrieved from request parameter: " +
-            "</div>" +
-            "<div>" +
-            "<textarea name=\"text\" cols=\"20\" rows=\"4\" wrap=\"virtual\">");
+      "<div>" + "Text retrieved from request parameter: " +
+         "</div>" +
+         "<div>" +
+         "<textarea name=\"text\" cols=\"20\" rows=\"4\" wrap=\"virtual\">");
 
       if (param != null)
       {
@@ -81,13 +81,13 @@
 
       writer.println(
          "</textarea>" +
-            "</div>");
+      "</div>");
 
       writer.println(
-         "<div>" + "Text retrieved from portlet session (value set during Action Phase): " +
-            "</div>" +
-            "<div>" +
-            "<textarea name=\"text\" cols=\"20\" rows=\"4\" wrap=\"virtual\">");
+      "<div>" + "Text retrieved from portlet session (value set during Action Phase): " +
+         "</div>" +
+         "<div>" +
+         "<textarea name=\"text\" cols=\"20\" rows=\"4\" wrap=\"virtual\">");
 
       if (attr != null)
       {
@@ -96,7 +96,7 @@
 
       writer.println(
          "</textarea>" +
-            "</div>");
+      "</div>");
 
       //
       writer.close();




More information about the portal-commits mailing list