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

indexed properties can be only used with forms in the session scope

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2004-02-05 04:36 -------
This is already possible if you wrap your ArrayLists with a "LazyList" that is
defined in commons-collections under ListUtils. Static factory method takes your
collection, and a Factory implementation (simple interface which you implement
to make your "MyClass" objects). The "LazyList" will grow to meet the
expectation of anything calling on it. It fills the collection with objects
created by the factory implementation. This way, you don't need to know the size
of the inbound array.

The problem you describe is the reason the Lazy wrappers were created (there's
also one for Map implementations).

It's been mentioned on the user list a few times. Here's the link...

    http://marc.theaimsgroup.com/?l=struts-user&s=LazyList


...happy indexing!

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

Reply via email to