Struts 2
  1. Struts 2
  2. WW-3825

Struts2 (modeldriven) update method setting fields which do not exist on form to null

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Not a Problem
    • Affects Version/s: 2.3.1.2
    • Fix Version/s: 2.3.8
    • Component/s: None
    • Labels:
      None

      Description

      Struts 2 sets the fields values to Null, if it doesn't exists on view/jsp.

      See below link.

      http://forums.devshed.com/java-help-9/struts2-modeldriven-update-method-setting-fields-which-do-not-exist-642900.html

      I am forced to put all non view fields as HIDDEN on JSP page, to have it values transferred.

      Is there a way to retain the values of non form fields without using HIDDEN.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Lukasz Lenart
            Reporter:
            Sam
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development