svn commit: r933244 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r933244 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java

erwan
Author: erwan
Date: Mon Apr 12 14:08:02 2010
New Revision: 933244

URL: http://svn.apache.org/viewvc?rev=933244&view=rev
Log:
removing image path from request parameters after rendering the given hyperlink to avoid associating it to other link not having images in a list

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=933244&r1=933243&r2=933244&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 Mon Apr 12 14:08:02 2010
@@ -348,6 +348,7 @@ public class MacroFormRenderer implement
                 this.request, this.response, context);
 
         this.appendTooltip(writer, context, modelFormField);
+        this.request.removeAttribute("image");
     }
 
     public void renderTextField(Appendable writer, Map<String, Object> context, TextField textField) throws IOException {