Remove usage of a deprecated DataResourceWorker method

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821250 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Scott Gray
2009-10-03 05:16:30 +00:00
parent 13d77a190f
commit e419be8e1f
@@ -71,7 +71,7 @@ if (dataResourceId) {
SimpleMapProcessor.runSimpleMapProcessor("org/ofbiz/content/ContentManagementMapProcessors.xml", "dataResourceOut", dataResource, contentAssocDataResourceViewFrom, new ArrayList(), Locale.getDefault());
templateRoot = [:];
FreeMarkerViewHandler.prepOfbizRoot(templateRoot, request, response);
txt = DataResourceWorker.getDataResourceTextCache(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator);
txt = DataResourceWorker.getDataResourceText(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator, true);
if (txt) {
textData = UtilFormatOut.encodeXmlValue(txt);