You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Michael Jouravlev (JIRA)" <ji...@apache.org> on 2007/02/17 04:12:16 UTC

[jira] Closed: (STR-2458) [config] Deprecate "input" property

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

Michael Jouravlev closed STR-2458.
----------------------------------

    Resolution: Won't Fix
      Assignee:     (was: Struts Developers)

If it ain't broken - don't fix it.

> [config] Deprecate "input" property
> -----------------------------------
>
>                 Key: STR-2458
>                 URL: https://issues.apache.org/struts/browse/STR-2458
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Future
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Michael Jouravlev
>            Priority: Minor
>
> Input property is cumbersome: it is called "input", whereas it better should be
> called "error". This serves as a source of confusion for Struts newbies, who
> might think that "input" is a page which is displayed before action receives
> control. Also, this makes clean and linear chain of request -> action -> forward
> a little fuzzy. 
> Another reason is that by default "input" property does not support redirection.
> Redirection can be turned on, but not all developers know about this feature.
> Also, in this case it is turned on globally for the whole application, and all
> "input" properties would have refer to corresponding "forward" properties. Why
> not just to remove "input" altogether?
> Input property can be easily simulated with regular "forward" property. If one
> forward property should handle automatic error validation, it can simply have
> predefined name, like <forward name="ERROR" ... /> 
> Each action can have a bunch of errors, and there might be need for a bunch of
> error locations, so having only one "input" sometimes is not enough anyway.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.