You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2009/08/30 08:34:38 UTC
svn commit: r809251 -
/ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl
Author: lektran
Date: Sun Aug 30 06:34:37 2009
New Revision: 809251
URL: http://svn.apache.org/viewvc?rev=809251&view=rev
Log:
Continuation of Jacopo's commit, surround everything in quotes and the space removed in r809249 will prevent Excel from handling them incorrectly
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=809251&r1=809250&r2=809251&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl Sun Aug 30 06:34:37 2009
@@ -17,7 +17,7 @@
under the License.
-->
-<#macro renderField text><#if text?exists>${text?replace(",", "")}</#if></#macro>
+<#macro renderField text><#if text?exists>"${text}"</#if></#macro>
<#macro renderDisplayField idName description class alert inPlaceEditorId="" inPlaceEditorUrl="" inPlaceEditorParams="">
<@renderField description />,<#rt/>