svn commit: r1072490 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java

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

svn commit: r1072490 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java

jonesde
Author: jonesde
Date: Sun Feb 20 04:17:56 2011
New Revision: 1072490

URL: http://svn.apache.org/viewvc?rev=1072490&view=rev
Log:
Small change so that file upload form fields are added as request attributes

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java?rev=1072490&r1=1072489&r2=1072490&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java Sun Feb 20 04:17:56 2011
@@ -86,6 +86,7 @@ public class LayoutWorker {
             String fieldStr = fi.getString();
             if (fi.isFormField()) {
                 formInput.put(fieldName, fieldStr);
+                request.setAttribute(fieldName, fieldStr);
             //Debug.logVerbose("in uploadAndStoreImage, fieldName:" + fieldName + " fieldStr:" + fieldStr, "");
             }
             if (fieldName.equals(uploadField)) {