Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1390

redirect-action should be able to accept parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • WW 2.2.2
    • 2.0.0
    • XML Configuration
    • None

    Description

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

      Attachments

        Activity

          People

            tm_jee tm_jee
            jgrucza Jennifer Grucza
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: