Author: jacopoc
Date: Thu Apr 23 08:59:28 2009
New Revision: 767860
URL:
http://svn.apache.org/viewvc?rev=767860&view=revLog:
Fix for NPE reported by Hans Bakker in OFBIZ-2345
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java?rev=767860&r1=767859&r2=767860&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java Thu Apr 23 08:59:28 2009
@@ -768,7 +768,7 @@
sr.append("\" alert=\"");
sr.append(alert);
sr.append("\" allChecked=");
- sr.append(Boolean.toString(allChecked));
+ sr.append((allChecked != null? Boolean.toString(allChecked): "\"\""));
sr.append(" currentValue=\"");
sr.append(currentValue);
sr.append("\" name=\"");