Ooops, I ment TableDecorator! > -----Original Message----- > From: Bowe, Bastian > Sent: Thursday, December 02, 2004 2:14 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [displaytag-user] Bug in display tag. > > > Use a ColumnDecorator and implement a getUserId() method. See > the examples. > > Regards > > > -----Original Message----- > > From: Chris Hardin [mailto:[EMAIL PROTECTED] > > Sent: Thursday, December 02, 2004 2:11 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [displaytag-user] Bug in display tag. > > > > > > > > > > > > So is there a workaround? IS there a way to do what I am > > trying to do without writing an extension of the Tag? > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Fabrizio Giustina > > Sent: Thursday, December 02, 2004 5:41 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [displaytag-user] Bug in display tag. > > > > It's not a bug, only the body of the column is generated at > > each iteration. Column attributes are considered static and > > evaluated only at the first iteration. There is already a > > feature request posted in jira for dinamically evaluated attributes. > > > > fabrizio > > > > > > On Wed, 1 Dec 2004 06:57:03 -0600, Chris Hardin > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > 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="../test.do?test=${user.userID}&freee=${user.userID}" > > > > > > > > > > > > > > > > > > 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="../test.do?test=${user.userID}&freee=${user.userID}">${user.user > > > ID} > > > </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. > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.802 / Virus Database: 545 - Release Date: 11/26/2004 > > > > > > > > > ------------------------------------------------------- > > 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-user mailing list [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.802 / Virus Database: 545 - Release Date: 11/26/2004 > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.802 / Virus Database: 545 - Release Date: 11/26/2004 > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.802 / Virus Database: 545 - Release Date: 11/26/2004 > > > > > > > > ------------------------------------------------------- > > 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-user mailing list [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > >
------------------------------------------------------- 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-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

