struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From herma...@apache.org
Subject svn commit: r407152 - /struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl
Date Wed, 17 May 2006 04:58:10 GMT
Author: hermanns
Date: Tue May 16 21:58:10 2006
New Revision: 407152

URL: http://svn.apache.org/viewcvs?rev=407152&view=rev
Log:
Fixing missing id parameter
See: http://forums.opensymphony.com/thread.jspa?messageID=60164#60164

Modified:
    struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl

Modified: struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl
URL: http://svn.apache.org/viewcvs/struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl?rev=407152&r1=407151&r2=407152&view=diff
==============================================================================
--- struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl (original)
+++ struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl Tue May 16 21:58:10
2006
@@ -1,5 +1,8 @@
 <#if parameters.type?exists && parameters.type=="button">
 <button type="submit"<#rt/>
+<#if parameters.id?exists>
+ id="${parameters.id?html}"<#rt/>
+</#if>
 <#if parameters.name?exists>
  name="${parameters.name?html}"<#rt/>
 </#if>
@@ -17,6 +20,9 @@
 <#else>
 <#if parameters.type?exists && parameters.type=="image">
 <input type="image"<#rt/>
+<#if parameters.id?exists>
+ id="${parameters.id?html}"<#rt/>
+</#if>
 <#if parameters.label?exists>
  alt="${parameters.label?html}"<#rt/>
 </#if>
@@ -25,6 +31,9 @@
 </#if>
 <#else>
 <input type="submit"<#rt/>
+</#if>
+<#if parameters.id?exists>
+ id="${parameters.id?html}"<#rt/>
 </#if>
 <#if parameters.name?exists>
  name="${parameters.name?html}"<#rt/>



Mime
View raw message