Author: jacopoc
Date: Sun Nov  5 07:34:57 2006
New Revision: 471445

URL: http://svn.apache.org/viewvc?view=rev&rev=471445
Log:
Patch from Ashish Vijaywargiya (OFBIZ-428) to fix the path to the calendar 
lookup images (from content/images/ to images/).

Modified:
    
incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java

Modified: 
incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL: 
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?view=diff&rev=471445&r1=471444&r2=471445
==============================================================================
--- 
incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
 (original)
+++ 
incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
 Sun Nov  5 07:34:57 2006
@@ -432,7 +432,7 @@
             
buffer.append(UtilHttp.encodeBlanks(modelFormField.getEntry(context, 
defaultDateTimeString)));
             buffer.append("');\">");
             buffer.append("<img src=\"");
-            this.appendContentUrl(buffer, "/content/images/cal.gif");
+            this.appendContentUrl(buffer, "/images/cal.gif");
             buffer.append("\" width=\"16\" height=\"16\" border=\"0\" 
alt=\"Calendar\"/></a>");
         }
 
@@ -1674,7 +1674,7 @@
         buffer.append(UtilHttp.encodeBlanks(modelFormField.getEntry(context, 
dateFindField.getDefaultDateTimeString(context))));
         buffer.append("');\">");
         buffer.append("<img src=\"");
-        this.appendContentUrl(buffer, "/content/images/cal.gif");
+        this.appendContentUrl(buffer, "/images/cal.gif");
         buffer.append("\" width=\"16\" height=\"16\" border=\"0\" 
alt=\"Calendar\"/></a>");
 
         buffer.append(" <span");
@@ -1741,7 +1741,7 @@
         buffer.append(UtilHttp.encodeBlanks(modelFormField.getEntry(context, 
dateFindField.getDefaultDateTimeString(context))));
         buffer.append("');\">");
         buffer.append("<img src=\"");
-        this.appendContentUrl(buffer, "/content/images/cal.gif");
+        this.appendContentUrl(buffer, "/images/cal.gif");
         buffer.append("\" width=\"16\" height=\"16\" border=\"0\" 
alt=\"Calendar\"/></a>");
 
         buffer.append(" <span");
@@ -1846,7 +1846,7 @@
         }
         buffer.append(");\">");
         buffer.append("<img src=\"");
-        this.appendContentUrl(buffer, "/content/images/fieldlookup.gif");
+        this.appendContentUrl(buffer, "/images/fieldlookup.gif");
         buffer.append("\" width=\"16\" height=\"16\" border=\"0\" 
alt=\"Lookup\"/></a>");
 
         this.makeHyperlinkString(buffer, lookupField.getSubHyperlink(), 
context);


Reply via email to