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

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

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
            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

        

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

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1390?page=all ]

tm_jee updated WW-1390:
-----------------------

    Fix Version/s: 2.0.0

> 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
>             Fix For: 2.0.0
>
>
> 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

        

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

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1390?page=all ]

tm_jee reassigned WW-1390:
--------------------------

    Assignee: tm_jee

> 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

        

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

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1390?page=all ]

tm_jee resolved WW-1390.
------------------------

    Resolution: Fixed

> 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
>             Fix For: 2.0.0
>
>
> 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