struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r718354 - /struts/struts2/trunk/core/src/main/resources/template/simple/submit-close.ftl
Date Mon, 17 Nov 2008 20:06:38 GMT
Author: musachy
Date: Mon Nov 17 12:06:38 2008
New Revision: 718354

URL: http://svn.apache.org/viewvc?rev=718354&view=rev
Log:
Fix for FTL use (output was empty)

Modified:
    struts/struts2/trunk/core/src/main/resources/template/simple/submit-close.ftl

Modified: struts/struts2/trunk/core/src/main/resources/template/simple/submit-close.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/submit-close.ftl?rev=718354&r1=718353&r2=718354&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/submit-close.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/submit-close.ftl Mon Nov
17 12:06:38 2008
@@ -1,4 +1,6 @@
 <#if parameters.type?exists && parameters.type=="button">
 <#if (parameters.body)?default("")?length gt 0>${parameters.body}<#elseif parameters.label?exists><@s.property
value="parameters.label"/><#rt/></#if>
 </button>
+<#else>
+${parameters.body}<#rt/>
 </#if>



Mime
View raw message