Jeff Thorne wrote:
> I am trying to display more that one object in my list in a single row
> such as
>
> <tr>
> <td>listelement1</td>
> <td>listelement2</td>
> </tr>
>
> How can I access more that one list object in a single row? Is this
> possible?
Not directly thru displaytag no. But assuming that the list indices are
synced (that is, that when you're referencing item #5 in one list, you
also want to be accessing item #5 in the other list), you can use the
implicit row counter to access the other list thru JSTL/EL.
<display:tag name="list1" uid="item">
<display:column>
${item.property}: ${list2[item_rowNum].property}
</display:column>
</display:tag>
Something like that...
--
Rick Herrick
[EMAIL PROTECTED]
Proud member of the reality-based community
Never try to discourage thinking for you are sure to succeed.--Bertrand
Russell
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user