You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2009/08/19 11:02:16 UTC

svn commit: r805711 - /ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl

Author: jacopoc
Date: Wed Aug 19 09:02:16 2009
New Revision: 805711

URL: http://svn.apache.org/viewvc?rev=805711&view=rev
Log:
Temporary solution to avoid messed up CSV exports: commas are removed from the content of the fields.

Modified:
    ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl

Modified: ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl?rev=805711&r1=805710&r2=805711&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl Wed Aug 19 09:02:16 2009
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#macro renderField text><#if text?exists>${text}</#if></#macro>
+<#macro renderField text><#if text?exists>${text?replace(",", "")}</#if></#macro>
 
 <#macro renderDisplayField idName description class alert inPlaceEditorId="" inPlaceEditorUrl="" inPlaceEditorParams="">
 <@renderField description />, <#rt/>