svn commit: r608348 - /ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r608348 - /ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java

jleroux@apache.org
Author: jleroux
Date: Wed Jan  2 22:10:37 2008
New Revision: 608348

URL: http://svn.apache.org/viewvc?rev=608348&view=rev
Log:
Applied fix from trunk for revision: 607322

Modified:
    ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java

Modified: ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?rev=608348&r1=608347&r2=608348&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java (original)
+++ ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java Wed Jan  2 22:10:37 2008
@@ -705,11 +705,9 @@
         while (optionValueIter.hasNext()) {
             ModelFormField.OptionValue optionValue = (ModelFormField.OptionValue) optionValueIter.next();
 
-            buffer.append("<div");
+            buffer.append("<input type=\"checkbox\"");
 
             appendClassNames(buffer, context, modelFormField);
-
-            buffer.append("><input type=\"checkbox\"");
             
             // if current value should be selected in the list, select it
             if (Boolean.TRUE.equals(allChecked)) {
@@ -737,7 +735,6 @@
             buffer.append("/>");
 
             buffer.append(optionValue.getDescription());
-            buffer.append("</div>");
         }
 
         this.appendTooltip(buffer, context, modelFormField);