Gotcha

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
McCulloch
Sent: Friday, December 03, 2004 9:16 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [displaytag-user] Bug in display tag.

I've used and patched the tag extensively - thanks for asking.

You are corect - the tag with a hyperlink won't be exported. That's why I've
declared another column, for export only, which renders an unmodified userId
property.

Paul

> -----Original Message-----
> From: Chris Hardin [mailto:[EMAIL PROTECTED]
> Sent: 03 December 2004 14:43
> To: [EMAIL PROTECTED]
> Subject: RE: [displaytag-user] Bug in display tag.
> 
> 
> 
> 
> Then the column won't export at all. No offense, but have you 
> ever used the
> tag?
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul
> McCulloch
> Sent: Friday, December 03, 2004 8:05 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [displaytag-user] Bug in display tag.
> 
> How about:
> 
> <display:column sortable="true" title="User ID" nowrap="true" 
> media="html">
>       <a
> href="../test.do?test=${user.userID}&freee=${user.userID}">${u
> ser.userID}</a
> >
> </display:column>
> 
> <display:column property="userID" sortable="true" title="User ID"
> nowrap="true" media="csv xml excel"/>
> 
> Paul
> 
> > -----Original Message-----
> > From: Chris Hardin [mailto:[EMAIL PROTECTED]
> > Sent: 03 December 2004 13:54
> > To: [EMAIL PROTECTED]
> > Subject: RE: [displaytag-user] Bug in display tag.
> > 
> > 
> > 
> > 
> > Yeah but when you do this the HTML gets exported when you 
> > export to another
> > format.
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On 
> Behalf Of Paul
> > McCulloch
> > Sent: Friday, December 03, 2004 4:46 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [displaytag-user] Bug in display tag.
> > 
> > Just write the code to render the link yourself. Something like:
> > 
> > <display:column sortable="true" title="User ID" nowrap="true">
> >     <a
> > href="../test.do?test=${user.userID}&freee=${user.userID}">${u
> > ser.userID}</a
> > >
> > </display:column>
> > 
> > Paul
> > 
> > > -----Original Message-----
> > > From: Chris Hardin [mailto:[EMAIL PROTECTED]
> > > Sent: 02 December 2004 13:01
> > > 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}">${u
> > > ser.userID}
> > > > </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
> > >  
> > > 
> > > 
> > > -------------------------------------------------------
> > > 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
> > > 
> > 
> > Axios Email Confidentiality Footer
> > Privileged/Confidential Information may be contained in this 
> > message. If you
> > are not the addressee indicated in this message (or 
> > responsible for delivery
> > of the message to such person), you may not copy or deliver 
> > this message to
> > anyone. In such case, you should destroy this message, and notify us
> > immediately. If you or your employer does not consent to 
> > Internet email
> > messages of this kind, please advise us immediately. 
> > Opinions, conclusions
> > and other information expressed in this message are not given 
> > or endorsed by
> > my Company or employer unless otherwise indicated by an authorised
> > representative independent of this message.
> > �
> > WARNING:
> > While Axios Systems Ltd takes steps to prevent computer 
> > viruses from being
> > transmitted via electronic mail attachments we cannot guarantee that
> > attachments do not contain computer virus code.  You are 
> > therefore strongly
> > advised to undertake anti virus checks prior to accessing the 
> > attachment to
> > this electronic mail.  Axios Systems Ltd grants no warranties 
> > regarding
> > performance use or quality of any attachment and undertakes 
> > no liability for
> > loss or damage howsoever caused.
> > 
> > 
> > 
> > -------------------------------------------------------
> > 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.804 / Virus Database: 546 - Release Date: 11/30/2004
> >  
> > 
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/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
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/2004
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/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

Reply via email to