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/11/05 02:57:36 UTC

DO NOT REPLY [Bug 13043] - Adjustment to Iterate logic

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

Adjustment to Iterate logic

dgraham1980@hotmail.com changed:

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



------- Additional Comments From dgraham1980@hotmail.com  2002-11-05 01:57 -------
I'm against adding this to the iterate tag for the following reasons:
1. You can avoid 
duplicating this logic in each Action by creating a parent Action with a method that performs this 
logic.
2. The iterate tag is meant to loop over collections and arrays, not a single bean.
3. 
The JSTL provides the <c:forEach> tag that duplicates the iterate tag's functionality in a 
standard way.
4. Interoperating with other frameworks that sometimes return a bean and 
sometimes a collection is not Struts' responsibility.

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