質問

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 ).

役に立ちましたか?

解決

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">
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top