Author: lektran
Date: Fri Jul 30 08:57:40 2010
New Revision: 980687
URL:
http://svn.apache.org/viewvc?rev=980687&view=revLog:
Fix problem rendering content from the screen widget, thanks Hans for the report
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java?rev=980687&r1=980686&r2=980687&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java Fri Jul 30 08:57:40 2010
@@ -345,7 +345,7 @@ public class MacroScreenRenderer impleme
Map<String, Object> parameters = FastMap.newInstance();
parameters.put("editRequest", editRequest);
- parameters.put("enableEditValue", enableEditValue);
+ parameters.put("enableEditValue", enableEditValue == null ? "" : enableEditValue);
parameters.put("editContainerStyle", content.getEditContainerStyle(context));
executeMacro(writer, "renderContentBegin", parameters);
}