Author: jleroux
Date: Wed Oct 22 02:05:02 2008
New Revision: 706908
URL:
http://svn.apache.org/viewvc?rev=706908&view=revLog:
While trying to fix
https://issues.apache.org/jira/browse/OFBIZ-2010, I found that returnByteBuffer was obviously missing. Then I found also that "Add Party Content" is not only missing that but a lot more. I ran out of time, I attach a patch with current work to OFBIZ-2010.
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=706908&r1=706907&r2=706908&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 Wed Oct 22 02:05:02 2008
@@ -104,4 +104,9 @@
//Debug.logVerbose("in uploadAndStoreImage, results:" + results, "");
return results;
}
+
+ public static ByteBuffer returnByteBuffer(Map map) {
+ ByteBuffer byteBuff = (ByteBuffer)map.get("imageData");
+ return byteBuff;
+ }
}