Should I do something like this?

<display:column media="html" title="URL">    <![CDATA[<a
href="]]><c:out value="${currentRowObject.url}" /><![CDATA[">]]><c:out
value="${currentRowObject.url}" /><![CDATA[</a>]]>
</display:column>



(taken from
http://displaytag.svn.sourceforge.net/viewvc/displaytag/trunk/displaytag-examples/src/main/webapp/example-export.jsp?view=markup
)



On 11/3/07, Nicolas Gonzalez <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm experiencing a problem while trying to export to any format (doesn't
> matter if it xls, csv, whatever...).
> The thing is that I have inside a <display:column> some html code such as
> a link (<a href="something">a value</a>). Well, when exporing, that HTML
> code generated by manually is being exported. I want to prevent that data to
> be exported.
>
> The code would be as follows:
>
> <display:column  sortProperty="dxc"
>                          title="Network Element (DXC)"
>                          sortable="true"
>                          >
>             <html-el:link href="javascript:goToT1Detail('${row.myproperty}', 
> '${
> row.anotherProperty}');"  >
>                 a value
>             </html-el:link>
> </display:column>
>
>
> Is it possible to export only the value of dxc? or should I write an
> exporter which prevents that behaviour?
>
> Thanks in advance,
>
> Nico
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to