|
Hi,
I call a Java Class at first into the simple-method "updateProduct" (ProductServices.xml).
This Class scales Images from the the detail Image and write related files for small, medium and large images.
So into product content form, I don't upload image and don't type image path for small, medium and large image text area.
I have to give theses 3 new images paths from my class to the simple-method.
<simple-method method-name="updateProduct" short-description="Update an Product">
<call-class-method class-name="org.ofbiz.image.ImageTransform" method-name="scaleImageInAllSize" ret-field-name="result">
<field field-name="parameters" type="javolution.util.FastMap"/>
</call-class-method>
<if-compare field="result" operator="equals" value="success">
...
How can I do this ? (In order to save new images paths to the product content)
I can't find line uses parameter "smallImageUrl", "mediumImageUrl", "largeImageUrl" ?
Thanks
Eric
|