Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-286

ActionForm populate strategy

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.4.0
    • Core
    • None
    • Operating System: All
      Platform: Other
    • 2640

    Description

      Within a sequence of Actions (with no intermediate user interaction), the
      ActionForm is populated with the request parameters' values each time the
      request is forwarded to the next Action. As a consequence, an Action B,
      following an Action A, will not 'see' the ActionForm in the state Action A left
      it in, but instead get as the ActionForm's properties' values, the parameters'
      values provided with the HTTP request. (I.e. Action B 'sees' in the ActionForm
      what, e.g., the user entered, instead of what Action A already did with it.)

      Suggestion to discuss:
      It might be cofigurable within the struts-config.xml to set an Action to
      either 'ActionForm_population_required' (default),
      or 'ActionForm_do_not_populate'.

      Thank you in advance for any response!
      Aria

      Attachments

        Issue Links

          Activity

            People

              pbenedict Paul Benedict
              aria.kiahaschemi@zurich.com aria.kiahaschemi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: