struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12303] - nested:iterate tag does not work with Collections
Date Thu, 05 Sep 2002 14:43:49 GMT
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=12303>.
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=12303

nested:iterate tag does not work with Collections

arron@keyboardmonkey.com changed:

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



------- Additional Comments From arron@keyboardmonkey.com  2002-09-05 14:43 -------
Collection as a definition is too generic. For one, there isn't a method to
explicitly get a singular object by any means. Certainly nothing the server can
go on to get a hold of a bean, and set a property.

Where the nested tags differ to the original tags is that child tags use the
same mechanism as the Struts server to get at the child beans (BeanUtils). The
original tags simply get the collection of object and go for broke, so they can
get away with something as generic as this. Note: the original tags would only
ever get away with viewing the structure, a post back to the server would be
just as useless as the nested tags viewing the objects.

Your collection is either going to be a Map or a List, so pick one and use it.

Arron.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message