You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/05/22 19:47:19 UTC

DO NOT REPLY [Bug 9322] New: - Add ability to get Indexed Properties in whole

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=9322>.
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=9322

Add ability to get Indexed Properties in whole

           Summary: Add ability to get Indexed Properties in whole
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Unknown
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: stevendwilkinson@acm.org


When playing with the DynaActionForm I noticed something that I think could be 
improved upon.  When there are IndexProperties on the form, either 
java.util.ArrayList type an ObjectArray the form does not provide an accessor 
that allows retrevial of the whole object.  You can get at values by index, but 
since you don't know how many items are in the indexed property you have to 
catch the IndexOutOfBoundsException and continue.  I believe that this would be 
useful if this type of accessor were added.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>