Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.1.8.1
-
None
-
None
-
OS: Windows XP & Windows 7, Tomcat V6
Description
After upgrading from 2.1.6 to 2.1.8.1 execution from method or action at <s:submit /> Tag doesn't work anymore. After I put the method into the <s:form /> tag it works.
This is one example which works under 2.1.6 but not in 2.1.8.1:
<s:submit method="editLand" value="Speichern" onclick="refreshParent()" />
Workaround:
Create an action to execute the method in action class and put the param action into <s:form /> tag:
<s:form action="editLand" method="POST" acceptcharset="ISO-8859-1" >
<table class="form">
<s:textfield name="lkz" label="Lkz" />
<s:textfield name="landName" label="Land" />
<tr>
<td class="button" colspan="2">
<s:submit value="Speichern" onclick="refreshParent()" />
</td>
</tr>
</table>
</s:form>