• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

display tag issue

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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="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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"sxt sxt", please check your private messages for an important administrative matter.
 
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic