File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes display tag issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "display tag issue" Watch "display tag issue" New topic

display tag issue

Sam Tom

Joined: Nov 21, 2004
Posts: 3
I had requirement to export to csv file using display tag. It is properly exporting to csv. But problem is it is showing Cell[StaticValue =] in jsp page
I found problem is in following column value in attached code.
<display:column media="html" title="X"/> .

If I remove this column it is showing values that are exported to csv file which I don't want. Can anyone please help.

Attaching jsp page:

<display:table pagesize="1" export="true" requestURI="" width="0%" id="results" defaultsort="2" name="results" decorator="Decorator">
<display:column media="csv" property="xyz" title="XYZ "/>
<display:column media="csv" property="qaw" sortProperty="gawSort" title="PQA"/>

<display:column media="html" title="X"/>
<display:setProperty name="" value="false" />
<display:setProperty name="export.csv.include_header" value="true" />
<display:setProperty name="export.csv.filename" value="xyz.csv" />

<display:setProperty name="paging.banner.first" value="" />
<display:setProperty name="paging.banner.some_items_found" value="" />
<display:setProperty name="paging.banner.one_item_found" value="" />
<display:setProperty name="paging.banner.all_items_found" value="" />
<display:setProperty name="" value="" />

<display:setProperty name="export.csv" value="true" />
<display:setProperty name="export.excel" value="false" />
<display:setProperty name="export.xml" value="false" />
<display:setProperty name="export.hml" value="false" />
<display:setProperty name="export.banner" value="{0}" />
<display:setProperty name="export.csv.label" value="Begin Download" />

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838

"sxt sxt", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: display tag issue
It's not a secret anymore!