You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Thomas Lang (JIRA)" <ji...@apache.org> on 2010/03/10 11:23:27 UTC
[jira] Created: (WW-3404) Executing method or action from tag doesn't work anymore
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.
[jira] Closed: (WW-3404) Executing method or action from tag doesn't work anymore
Posted by "Thomas Lang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Lang closed WW-3404.
---------------------------
Resolution: Not A Problem
I think it's not a problem anymore...
> 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.