David,
Use the media attribute of the column tag. It specifies the target media for a
particular column. If it's not specified, the column appears in every media
type, html, excel, pdf, rtf, etc... The sol'n is to use media='html' for the
html version of your column, and media='rtf' for the rtf version. You'll need
one column tag per media type.
-Jorge
----- Original Message ----
From: David Zhang <[EMAIL PROTECTED]>
To: displaytag-user@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Sent: Saturday, March 17, 2007 7:41:57 PM
Subject: [displaytag-user] How to remove hyperlink info for columns in RTF
output
Hello, I am using DisplayTag 1.1.
I need to output content to a RTF file. One of the
columns is called username. Within a browser, a cell
value for this column is clickable (i.e., a
hyperlink).
The output in RTF looks like the following:
Username
<a href="editUser.html?id=22">smith</a>
That looks ugly. I want "smith" to get output, not the
whole link.
How can I do that?
Here is my settings in displaytag.properties:
export.types=csv excel xml pdf rtf
export.rtf.class=org.displaytag.export.DefaultRtfExportView
export.rtf=true
Thanks in advance!
-David
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
-------------------------------------------------------------------------
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
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
-------------------------------------------------------------------------
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
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user