Question

I'm using displaytag tld for displaying tables and exporting. The problem is, in my first column, the column content is hyperlink, and all of this html tag is generated on exporting.

<a class="ajax"
id="msgIDPkView"
href="displaySelect
DashboardDetailsV
iewFullText.do?ref=
501250">501250</
a>

How can I make it only show the value(between ).

Was it helpful?

Solution

if you only decorator for this column use this:

<display:setProperty name="export.decorated" value="false"/>

with this property the decorator doesn't apply to your column while printing!

otherwise you've to create two columns for this property; one to show in web browser and one to show in export!

<display:column property="id" media="html">
<display:column property="id" media="csv">
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top