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

New result 'JSONActionRedirectResult' in json-plugin

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: Plugin - JSON
    • Labels:
      None

      Description

      Adds new result 'JSONActionRedirectResult' to json-plugin. Contains tests and example in showcase app. The new result type is intended to be used along with existing JSONValidationInterceptor. It makes it possible to do form validation via ajax and handle form submitting, action execution and redirect evaluation all in one request inside JS context.

      https://github.com/apache/struts/pull/72

        Activity

        Hide
        lukaszlenart Lukasz Lenart added a comment -

        PR merged

        Show
        lukaszlenart Lukasz Lenart added a comment - PR merged
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 3163d6c38b4a6f4f7d6e5447476934beebb398fe in struts's branch refs/heads/master from Lukasz Lenart
        [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=3163d6c ]

        WW-4591 Defines new result JSONActionRedirectResult

        Show
        jira-bot ASF subversion and git services added a comment - Commit 3163d6c38b4a6f4f7d6e5447476934beebb398fe in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=3163d6c ] WW-4591 Defines new result JSONActionRedirectResult

          People

          • Assignee:
            Unassigned
            Reporter:
            cn42 Christoph Nenning
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development