Author: jacopoc
Date: Tue Jul 7 14:04:36 2009
New Revision: 791841
URL:
http://svn.apache.org/viewvc?rev=791841&view=revLog:
Fix for bug reported by Hans Bakker in the dev list: passing field values containing ${...} directives was breaking the renderers macros because the renderer was attempting to execute them.
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=791841&r1=791840&r2=791841&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 Tue Jul 7 14:04:36 2009
@@ -359,7 +359,7 @@
sr.append(className);
sr.append("\" alert=\"");
sr.append(alert);
- sr.append("\" value=\"");
+ sr.append("\" value=r\"");
sr.append(value);
sr.append("\" textSize=\"");
sr.append(textSize);
@@ -434,7 +434,7 @@
sr.append(className);
sr.append("\" alert=\"");
sr.append(alert);
- sr.append("\" value=\"");
+ sr.append("\" value=r\"");
sr.append(value);
sr.append("\" cols=\"");
sr.append(cols);