You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2011/02/20 05:17:56 UTC
svn commit: r1072490 -
/ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java
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)) {