You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Gabriel Belingueres (JIRA)" <ji...@apache.org> on 2008/07/14 16:39:10 UTC

[jira] Commented: (WW-2629) using type="button" can not handle multiple method

    [ https://issues.apache.org/struts/browse/WW-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44381#action_44381 ] 

Gabriel Belingueres commented on WW-2629:
-----------------------------------------

I could not reproduce this issue on v.2.1.2, using both theme="simple" and "xhtml" setted on the form.

> <s:submit> using type="button" can not handle multiple method
> -------------------------------------------------------------
>
>                 Key: WW-2629
>                 URL: https://issues.apache.org/struts/browse/WW-2629
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.0.11
>            Reporter: ChenShen
>             Fix For: 2.1.3
>
>
> In a from,I use two <s:submit> tag like this:
> <s:submit id="ggg1" method="save" value="TestOther" type="button"></s:submit>
> <s:submit id="yyy" method="saveother" value="yyy" type="button"></s:submit>
> I want to button can call different method of action, but actually the framework can not handle multiple method call in one form,it always call the same method. But if you using default type, it can handle this.
> Is it a bug?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.