mini jose wrote:
> I am using displaytags and having a problem with export options. when 
> I export to excel or other formats, the email address contains the 
> wrappers like this
> <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
> If I take out autolink="true", then the export file loads the email 
> address correctly but then when the page gets loaded, it is not linked 
> to send out an email.
You need to use the media attribute and define two columns like this:


<display:column property="primaryemail" title="Primary Contact email" 
sortable="true" autolink="true" media="html"/>

<display:column property="primaryemail" title="Primary Contact email" 
sortable="true" media="excel"/>

This way the email address will be displayed as a link in the browser 
but as plain text in excel.

Documentation:

<http://displaytag.sourceforge.net/11/displaytag/tagreference.html#column>

Ed!

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to