Author: lektran
Date: Sat Oct 3 04:57:00 2009
New Revision: 821244
URL:
http://svn.apache.org/viewvc?rev=821244&view=revLog:
Removed use of a deprecated DataResourceWorker method
Modified:
ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy
Modified: ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy?rev=821244&r1=821243&r2=821244&view=diff==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy (original)
+++ ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy Sat Oct 3 04:57:00 2009
@@ -47,7 +47,7 @@
templateRoot.context = ctx;
out = new StringWriter();
currentValue.drDataTemplateTypeId = "NONE";
- DataResourceWorker.renderDataResourceAsText(delegator, dataResourceId, out, templateRoot, currentValue, locale, mimeTypeId);
+ DataResourceWorker.renderDataResourceAsText(delegator, dataResourceId, out, templateRoot, locale, mimeTypeId, false);
textData = out.toString();
context.textData = textData;
}