• 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 Export

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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
Saritha
 
reply
    Bookmark Topic Watch Topic
  • New Topic