This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

display tag issue

Sam Tom
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 64188
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"sxt sxt", please check your private messages for an important administrative matter.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic