Author: mrdon
Date: Fri Dec  8 00:53:35 2006
New Revision: 483888

URL: http://svn.apache.org/viewvc?view=rev&rev=483888
Log:
Fixed ajax submit button to include control headers/footers

Modified:
    struts/struts2/trunk/core/src/main/resources/template/ajax/submit.ftl

Modified: struts/struts2/trunk/core/src/main/resources/template/ajax/submit.ftl
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/ajax/submit.ftl?view=diff&rev=483888&r1=483887&r2=483888
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/ajax/submit.ftl 
(original)
+++ struts/struts2/trunk/core/src/main/resources/template/ajax/submit.ftl Fri 
Dec  8 00:53:35 2006
@@ -1,3 +1,9 @@
+<tr>
+    <td colspan="2"><div <#rt/>
+<#if parameters.align?exists>
+    align="${parameters.align?html}"<#t/>
+</#if>
+><#t/>
 <#if parameters.type?exists && parameters.type=="button">
   <input type="button" dojoType="struts:Bind" event="onclick"<#rt/>
   <#include "/${parameters.templateDir}/ajax/ajax-common.ftl"/>
@@ -30,3 +36,6 @@
     <#include "/${parameters.templateDir}/simple/common-attributes.ftl" />
   />
 </#if>
+
+</div><#t/>
+<#include "/${parameters.templateDir}/xhtml/controlfooter.ftl" />


Reply via email to