Two Laptop Bag
The moose likes Other Application Frameworks and the fly likes Display Tag Export Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Display Tag Export" Watch "Display Tag Export" New topic
Author

Display Tag Export

s penumudi
Ranch Hand

Joined: Nov 17, 2004
Posts: 113
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
 
IntelliJ Java IDE
 
subject: Display Tag Export
 
Threads others viewed
JSTL Export
help with the derby-ij tool
Error message: when downloading data from 2nd display tag table
database design help needed
Trinidad Nested Tables Collapse and Expand Functionality Change
MyEclipse, The Clear Choice