struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r1144250 - /struts/struts2/trunk/core/src/main/resources/template/simple/dynamic-attributes.ftl
Date Fri, 08 Jul 2011 10:54:01 GMT
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



Mime
View raw message