The following comment has been added to this issue: Author: Bill Schneider Created: Wed, 22 Dec 2004 5:51 PM Body: agree on the usage of maps... also should support arrays. this would be consistent with JSTL behavior on c:forEach and c:out.
case in point: you might want to use displaytag right after <sql:query>, which creates an array of SortedHashMaps. --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/DISPL-68?page=comments#action_28296 --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/DISPL-68 Here is an overview of the issue: --------------------------------------------------------------------- Key: DISPL-68 Summary: Allow row object to be of type Collection Type: New Feature Status: Unassigned Priority: Minor Original Estimate: 5 days Time Spent: Unknown Remaining: 5 days Project: DisplayTag Components: Tag Library Assignee: Reporter: Rik de Boer Created: Mon, 18 Oct 2004 3:08 AM Updated: Wed, 22 Dec 2004 5:51 PM Description: If I understand correctly values are retrieved from the row object through reflection and calling the appropriate get<property>() or get("<prop>") method (eg a Map). It would be great if implementations of the Collection interface -such as ArrayList()-, could also be used to create not only the rows of the table, but also the cells of each row. The datasource for the <display:table> tag could then be an ArrayList of ArrayLists. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel