Author: jacopoc
Date: Wed Aug 19 09:02:16 2009
New Revision: 805711
URL:
http://svn.apache.org/viewvc?rev=805711&view=revLog:
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/>