> Author: lektran
> Date: Thu Mar 3 11:11:20 2011
> New Revision: 1076585
>
> URL:
http://svn.apache.org/viewvc?rev=1076585&view=rev> Log:
> Couple of minor fixes for my commit r1076549. call-class-method parameters default to string if one isn't specified, I wanted a boolean. Also forgot to pass along the absolute parameter in DataResourceWorker.getDataResourceContentUploadPath(boolean).
>
> Modified:
> ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml
> ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java
>
> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml
> URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml?rev=1076585&r1=1076584&r2=1076585&view=diff> ==============================================================================
> --- ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml (original)
> +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml Thu Mar 3 11:11:20 2011
> @@ -813,7 +813,7 @@ under the License.
>
> <set field="absolute" value="false" type="Boolean"/>
> <call-class-method class-name="org.ofbiz.content.data.DataResourceWorker" method-name="getDataResourceContentUploadPath" ret-field="uploadPath">
> - <field field="absolute"/>
> + <field field="absolute" type="boolean"/>
> </call-class-method>
> <log level="info" message="[attachLocalFileToDataResource] - Found Subdir : ${uploadPath}"/>
>
>
> Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java
> URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java?rev=1076585&r1=1076584&r2=1076585&view=diff> ==============================================================================
> --- ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java (original)
> +++ ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java Thu Mar 3 11:11:20 2011
> @@ -469,7 +469,7 @@ public class DataResourceWorker impleme
> maxFiles = 250;
> }
>
> - return getDataResourceContentUploadPath(initialPath, maxFiles);
> + return getDataResourceContentUploadPath(initialPath, maxFiles, absolute);
> }
>
> public static String getDataResourceContentUploadPath(String initialPath, double maxFiles) {
>
>