Executing method or action from <s:submit /> tag doesn't work anymore
---------------------------------------------------------------------
Key: WW-3404
URL: https://issues.apache.org/jira/browse/WW-3404
Project: Struts 2
Issue Type: Bug
Components: Plugin - Dojo Tags
Affects Versions: 2.1.8.1
Environment: OS: Windows XP & Windows 7, Tomcat V6
Reporter: Thomas Lang
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>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.