|
I think I might have found a bug in the display tag. It
seems that you cannot refer to the current row iteration inside of the column
tag. If you try to do this you always only get the initial row’s value. For example, take the following use of the display tag. Note the part where the href attribute is href=""> When the table is built, the value for ${user.userID} is
always the first value in the collection. In other words, if my users are Dick,
Jane, John and Joe, the value for ${user.userID} will be Dick for every row in
the table. I however want the link to have the value of the current iteration. Does
anyone know how to achieve this? <display:table name="allUsers"
export="true" id="user"
requestURI="../users.do" width="100%"
class="webadmin" pagesize="25" defaultsort="3"
> <display:column sortable="true"
title="User ID" nowrap="true" autolink="true"
href=""
</display:column> </display:table> The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. --- |
- [displaytag-user] Bug in display tag. Chris Hardin
- Re: [displaytag-user] Bug in display tag. Fabrizio Giustina
- RE: [displaytag-user] Bug in display tag. Chris Hardin
- RE: [displaytag-user] Bug in display tag. Bowe, Bastian
- RE: [displaytag-user] Bug in display tag. Bowe, Bastian
- RE: [displaytag-user] Bug in display tag. Chris Hardin
- RE: [displaytag-user] Bug in display tag. Paul McCulloch
- RE: [displaytag-user] Bug in display tag. Chris Hardin
- RE: [displaytag-user] Bug in display tag. Paul McCulloch
- RE: [displaytag-user] Bug in display tag. Chris Hardin

