This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "display tag issue" Watch "display tag issue" New topic
Author

display tag issue

Sam Tom
Greenhorn

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="basic.show.header" 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="paging.banner.page.selected" 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" />
</display:table>

Thanks,
S
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61105
    
  66

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display tag issue