You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Updated) (JIRA)" <ji...@apache.org> on 2011/12/06 10:59:40 UTC

[jira] [Updated] (WW-2867) Add a method allowing to know what is the name of the "method" passed in the request

     [ https://issues.apache.org/jira/browse/WW-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-2867:
------------------------------

    Fix Version/s:     (was: Future)
                   3.x
    
> Add a method allowing to know what is the name of the "method" passed in the request
> ------------------------------------------------------------------------------------
>
>                 Key: WW-2867
>                 URL: https://issues.apache.org/jira/browse/WW-2867
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: "New" API
>    Affects Versions: 2.0.11
>         Environment: XP2 Tomcat 5.5 JDK 1.5.0.12
>            Reporter: olivier dupuy
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: Olivier Dupuy.vcf
>
>
> Add a method allowing to know what is the name of the "method" passed in the request
> Methods can be specified in a form in the JSP, for submit buttons and you can use them in links too.
> Add a method in ActionSupport called String getActionmethodName() 
> if you submit .... method:save  it would return "save" etc.
> I use a an equivalent method to do some security logic in my actions if multiple methods can hit the same action

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira