You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2007/05/21 15:46:43 UTC

[jira] Created: (WW-1939) Allow automatic id setting from restful2 action mapper

Allow automatic id setting from restful2 action mapper
------------------------------------------------------

                 Key: WW-1939
                 URL: https://issues.apache.org/struts/browse/WW-1939
             Project: Struts 2
          Issue Type: Improvement
    Affects Versions: 2.0.7
            Reporter: Don Brown
         Assigned To: Don Brown
            Priority: Minor
             Fix For: 2.0.8


The restful 2 action mapper currently returns action names with the id in them, however, this shouldn't be the case.  It should be possible to configure the action mapper to treat the discovered id value as an extra parameter

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


[jira] Resolved: (WW-1939) Allow automatic id setting from restful2 action mapper

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown resolved WW-1939.
---------------------------

    Resolution: Fixed

Fixed by adding a 'struts.mapper.idParameterName' setting, which defines the name of the parameter to store the id

> Allow automatic id setting from restful2 action mapper
> ------------------------------------------------------
>
>                 Key: WW-1939
>                 URL: https://issues.apache.org/struts/browse/WW-1939
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.0.7
>            Reporter: Don Brown
>         Assigned To: Don Brown
>            Priority: Minor
>             Fix For: 2.0.8
>
>
> The restful 2 action mapper currently returns action names with the id in them, however, this shouldn't be the case.  It should be possible to configure the action mapper to treat the discovered id value as an extra parameter

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