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).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076585 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Scott Gray
2011-03-03 11:11:20 +00:00
parent 041f4cd4ac
commit db7e646b6b
2 changed files with 2 additions and 2 deletions
@@ -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}"/>
@@ -469,7 +469,7 @@ public class DataResourceWorker implements org.ofbiz.widget.DataResourceWorkerI
maxFiles = 250;
}
return getDataResourceContentUploadPath(initialPath, maxFiles);
return getDataResourceContentUploadPath(initialPath, maxFiles, absolute);
}
public static String getDataResourceContentUploadPath(String initialPath, double maxFiles) {