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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user