You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/24 17:20:10 UTC

[jira] Reopened: (STR-2774) ActionForm should not be populated automatically [Struts Classic 1.x]

     [ http://issues.apache.org/struts/browse/STR-2774?page=all ]
     
David Evans reopened STR-2774:
------------------------------

    Assign To: David Evans  (was: Struts Developer Mailing List)

during import from bugzilla ticket, had resolved field set to unresolved with status set to closed. reopening to set resolved field to resolved.

> ActionForm should not be populated automatically [Struts Classic 1.x]
> ---------------------------------------------------------------------
>
>          Key: STR-2774
>          URL: http://issues.apache.org/struts/browse/STR-2774
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Action
>     Versions: Unknown
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Michael Jouravlev
>     Assignee: David Evans
>     Priority: Minor

>
> Whenever a request is submitted to an Action, a corresponding ActionForm is
> always populated, despite the type of request or despite of whether request
> contains Cancel event or not. This brings a lot of problems related to
> refreshing the same page, or forwarding to another action, or accepting invalid
> input when Cancel was activated.
> For compatibility reasons, autopopulation of an ActionForm should be kept by
> default, but it should be possible to turn it off either on application level
> using <controller> element or on action level using <action> element, or both.
> Struts allows to perform validation explicitly, the same should be allowed for
> form population. A developer knows better when to accept the input and when not to.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org