[ http://jira.codehaus.org/browse/DISPL-68?page=all ] fabrizio giustina closed DISPL-68: ----------------------------------
Resolution: Fixed done, you can use indexed properties as follow: java.util.List testdata = new java.util.ArrayList(); testdata.add("one"); testdata.add("two"); request.setAttribute( "test", new Object[]{testdata, testdata}); <display:table name="test"> <display:column property="[0]"/> <display:column property="[1]"/> </display:table> > Allow row object to be of type Collection > ----------------------------------------- > > Key: DISPL-68 > URL: http://jira.codehaus.org/browse/DISPL-68 > Project: DisplayTag > Type: New Feature > Components: Tag Library > Reporter: Rik de Boer > Priority: Minor > Fix For: 1.1 > > Original Estimate: 5 days > Remaining: 5 days > > 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. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel