[
https://issues.apache.org/struts/browse/WW-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Holmes updated WW-2867:
-----------------------------
Fix Version/s: Future
Seems like an interesting proposal. Can you submit a patch to implement this?
> 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/struts/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: Future
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.