Author: doogie
Date: Mon Jun 29 17:40:41 2009
New Revision: 789394
URL:
http://svn.apache.org/viewvc?rev=789394&view=revLog:
Switch one last direct call to appendContentPrefix over to
appendContentUrl.
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=789394&r1=789393&r2=789394&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 Mon Jun 29 17:40:41 2009
@@ -2665,10 +2665,7 @@
String value = modelFormField.getEntry(context, imageField.getValue(context));
if (UtilValidate.isNotEmpty(value)) {
writer.append(" src=\"");
- StringBuilder buffer = new StringBuilder();
- ContentUrlTag.appendContentPrefix(request, buffer);
- writer.append(buffer.toString());
- writer.append(value);
+ appendContentUrl(writer, value);
writer.append('"');
}