You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2011/07/08 12:54:01 UTC
svn commit: r1144250 -
/struts/struts2/trunk/core/src/main/resources/template/simple/dynamic-attributes.ftl
Author: lukaszlenart
Date: Fri Jul 8 10:54:01 2011
New Revision: 1144250
URL: http://svn.apache.org/viewvc?rev=1144250&view=rev
Log:
Adds <#rt/> directive to remove empty spaces
Modified:
struts/struts2/trunk/core/src/main/resources/template/simple/dynamic-attributes.ftl
Modified: struts/struts2/trunk/core/src/main/resources/template/simple/dynamic-attributes.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/dynamic-attributes.ftl?rev=1144250&r1=1144249&r2=1144250&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/dynamic-attributes.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/dynamic-attributes.ftl Fri Jul 8 10:54:01 2011
@@ -20,9 +20,9 @@
* under the License.
*/
-->
-<#if (parameters.dynamicAttributes?? && parameters.dynamicAttributes?size > 0)><#t/>
- <#assign aKeys = parameters.dynamicAttributes.keySet()><#t/>
- <#list aKeys as aKey><#t/>
+<#if (parameters.dynamicAttributes?? && parameters.dynamicAttributes?size > 0)><#rt/>
+<#assign aKeys = parameters.dynamicAttributes.keySet()><#rt/>
+<#list aKeys as aKey><#rt/>
${aKey}="${parameters.dynamicAttributes[aKey]?html}"<#rt/>
- </#list><#t/>
-</#if><#t/>
\ No newline at end of file
+</#list><#rt/>
+</#if><#rt/>
\ No newline at end of file