You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2007/12/28 21:21:16 UTC

svn commit: r607322 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java

Author: adrianc
Date: Fri Dec 28 12:21:15 2007
New Revision: 607322

URL: http://svn.apache.org/viewvc?rev=607322&view=rev
Log:
Small fixup in form widget rendering.

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?rev=607322&r1=607321&r2=607322&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java Fri Dec 28 12:21:15 2007
@@ -712,11 +712,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)) {
@@ -744,7 +742,6 @@
             buffer.append("/>");
 
             buffer.append(optionValue.getDescription());
-            buffer.append("</div>");
         }
 
         this.appendTooltip(buffer, context, modelFormField);