- Revision
- 773
- Author
- mauro
- Date
- 2008-08-15 09:16:43 -0500 (Fri, 15 Aug 2008)
Log Message
WAFFLE-80: Use c built-in in join function values to ensure these are not formatted according to locales.
Modified Paths
Diff
Modified: trunk/waffle-resources/src/main/resources/ftl/waffle/form.ftl (772 => 773)
--- trunk/waffle-resources/src/main/resources/ftl/waffle/form.ftl 2008-08-15 11:39:07 UTC (rev 772) +++ trunk/waffle-resources/src/main/resources/ftl/waffle/form.ftl 2008-08-15 14:16:43 UTC (rev 773) @@ -20,7 +20,7 @@ </#function> <#-- - * Joins list values + * Joins list values. The values are converted using the c built-in to ensure that they are not formatted according to locales. * * @param values the values to join * @param separator the separator to join list with @@ -28,7 +28,7 @@ --> <#function join values separator> <#assign result = ''> - <#list values as value><#assign result=result+value><#if value_has_next><#assign result=result+separator></#if></#list> + <#list values as value><#assign result=result+value?c><#if value_has_next><#assign result=result+separator></#if></#list> <#return result> </#function>
To unsubscribe from this list please visit:
