Author: adrianc
Date: Fri Dec 28 12:21:15 2007
New Revision: 607322
URL:
http://svn.apache.org/viewvc?rev=607322&view=revLog:
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);