문제

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