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

JSONInterceptor must not populate value stack directly

    XMLWordPrintableJSON

Details

    • Important

    Description

      JSONInterceptor must populate value stack via OGNL to honor our exclusions!

      So according to my current quick view and understanding, I'm planning something like below which also resolves WW-3364: JSONInterceptor could be an extension of ModelDrivenInterceptor via some refactoring of both. From hereafter, JSONPopulator could be removed and JSONInterceptor must give population up to ParametersInterceptor. This simply could be achieved by something like pushing JSONInterceptor.root into top of stack and also moving posted json to http params (or if was impossible some refactoring of ParametersInterceptor).

      Please cast here any objections, votes or idea.

      Attachments

        1. StrutsUnifiedDataModel.png
          51 kB
          Yasser Zamani

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yasserzamani Yasser Zamani
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: