[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to