You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mu...@apache.org on 2008/11/17 21:06:38 UTC

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

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>