You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "tm_jee (JIRA)" <ji...@apache.org> on 2006/07/31 16:17:21 UTC

[jira] Commented: (WW-1390) redirect-action should be able to accept parameters

    [ http://issues.apache.org/struts/browse/WW-1390?page=comments#action_37880 ] 
            
tm_jee commented on WW-1390:
----------------------------

changes at :-

Sending        src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
Sending        src/main/java/org/apache/struts2/views/util/UrlHelper.java
Adding         src/test/java/org/apache/struts2/dispatcher/ServletActionRedirectResultTest.java
Transmitting file data ...
Committed revision 427126.

> redirect-action should be able to accept parameters
> ---------------------------------------------------
>
>                 Key: WW-1390
>                 URL: http://issues.apache.org/struts/browse/WW-1390
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: WW 2.2.2
>            Reporter: Jennifer Grucza
>         Assigned To: tm_jee
>            Priority: Minor
>
> The ww:url tag lets you specify an action and parameters, like so:
> <ww:url action="myAction"><ww:param name="id" value="myParamValue"/></ww:url>
> The redirect-action result type in xwork.xml should be able to accept parameters as well.
> This is important especially when using a custom ActionMapper where the action name is not the same as the URL being used, which prevents the use of the regular redirect result type.
> (See http://forums.opensymphony.com/thread.jspa?forumID=1&threadID=25826).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira