struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-3825) Struts2 (modeldriven) update method setting fields which do not exist on form to null
Date Sun, 28 Oct 2012 21:45:12 GMT

     [ https://issues.apache.org/jira/browse/WW-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-3825:
------------------------------

    Fix Version/s: 2.3.7
    
> Struts2 (modeldriven) update method setting fields which do not exist on form to null
> -------------------------------------------------------------------------------------
>
>                 Key: WW-3825
>                 URL: https://issues.apache.org/jira/browse/WW-3825
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.3.1.2
>            Reporter: Sam
>            Priority: Critical
>             Fix For: 2.3.7
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message