ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jler...@apache.org
Subject svn commit: r608348 - /ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
Date Thu, 03 Jan 2008 06:10:39 GMT
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);



Mime
View raw message