You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/22 07:18:34 UTC

[jira] Closed: (STR-705) create helper objects in struts-config

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

Paul Benedict closed STR-705.
-----------------------------

    Resolution: Won't Fix

Use of dependency injection frameworks supersede this request.

> create helper objects in struts-config
> --------------------------------------
>
>                 Key: STR-705
>                 URL: https://issues.apache.org/struts/browse/STR-705
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Nightly Build
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Ted Husted
>            Priority: Minor
>
> The HTML tags can use objects in application scope to write controls that are 
> used throughout the application. Many objects also load application-scope 
> objects for other reasons. While a PlugIn could be used to do this, not every 
> object needs lifecycle management. 
> Use the digester and existing infrastructure to allow creation of arbitrary 
> helper objects in application scope.
>     <object name="HOURS" type="LabelValue">
>      <set-property property="label" value=""/>
>     </object>
> Add an element to create an arbitrary Collection of arbitrary entries in 
> application scope. 
> <collection name="hours" type="java.util.ArrayList" entryType="LabelValueBean">
> <entry label="" value=""/>
> <entry anotherProperty="" anotherProperty2="" type="some.other.type"/>
> </collection>

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