Author: lektran
Date: Sat Oct 3 05:06:54 2009
New Revision: 821248
URL:
http://svn.apache.org/viewvc?rev=821248&view=revLog:
Remove usage of deprecated methods
Modified:
ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl
Modified: ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl?rev=821248&r1=821247&r2=821248&view=diff==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/cms/CMSContentEdit.ftl Sat Oct 3 05:06:54 2009
@@ -212,7 +212,7 @@
<#assign dataResourceId = currentValue.dataResourceId/>
<#assign currentTextData = "" />
<#if dataResourceId?has_content>
- <#assign currentTextData=Static["org.ofbiz.content.data.DataResourceWorker"].renderDataResourceAsTextCache(delegator, dataResourceId, (Map)null, (GenericValue)null, (Locale)null, (String)null) />
+ <#assign currentTextData=Static["org.ofbiz.content.data.DataResourceWorker"].renderDataResourceAsText(delegator, dataResourceId, null, null, null, true) />
<#if currentTextData?has_content>
<@renderTextData contentId=contentId textData=currentTextData />
</#if>
@@ -222,7 +222,7 @@
<#assign contentId2 = contentAssocDataResourceView.contentId/>
<#assign mapKey = contentAssocDataResourceView.mapKey/>
<#assign dataResourceId2 = contentAssocDataResourceView.dataResourceId/>
- <#assign currentTextData=Static["org.ofbiz.content.data.DataResourceWorker"].renderDataResourceAsTextCache(delegator, dataResourceId2, null, null, null, null) />
+ <#assign currentTextData=Static["org.ofbiz.content.data.DataResourceWorker"].renderDataResourceAsText(delegator, dataResourceId2, null, null, null, true) />
<#if currentTextData?has_content>
<@renderTextData contentId=contentId2 mapKey=mapKey textData=currentTextData />
</#if>