Package org.apache.ofbiz.content.layout
Class LayoutWorker
java.lang.Object
org.apache.ofbiz.content.layout.LayoutWorker
LayoutWorker Class
-
Method Summary
Modifier and TypeMethodDescriptionstatic ByteBuffer
returnByteBuffer
(Map<String, ByteBuffer> map) uploadImageAndParameters
(HttpServletRequest request, String uploadField) Uploads image data from a form and stores it in ImageDataResource.
-
Method Details
-
uploadImageAndParameters
public static Map<String,Object> uploadImageAndParameters(HttpServletRequest request, String uploadField) Uploads image data from a form and stores it in ImageDataResource. Expects key data in a field identitified by the "idField" value and the binary data to be in a field id'd by uploadField. -
returnByteBuffer
-