DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10552>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10552

create helper objects in struts-config

           Summary: create helper objects in struts-config
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to