• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Display Tag Export  RSS feed

Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question on Display Tag export function.

Currently I have a JSP that shows a collection of data using display:table tag.
Now, we have a new requirement that user should be able to export the data in an PDF, EXCELL format.
display:export can be used used for this.

Problem is:
1. The Report exported should also contain header information like UserName, timestamp which is not shown in JSP report.

Solution I thought of was using the nested tables. Have a one table say table1 with two inner tables table2 and table3.
table2 has header information, which I can hide while showing in JSP (I am guessing display tag will consider this table even it is hidden. I am not sure abt this).
table3 will have my listing.

Problem with this approach is I am not sure how can I render table with in a table using display:table. Sample code will be greatly appreciated.

2. The requirement is to show the export options (EXCEL/PDF) as a radio button, but not as a hyperlink. Any Ideas how to approach this.

If you can think any other solution to this Please let me know. I would really appreciate it

thank you
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!