I am trying to use the display tag open source library to display a table and export the data
to Excel. I am/have:
- using Tiles
- using displaytag-1.1.jar
- set up the filter in web.xml
I am able to display the table, do paging, sorting etc successfully.
When I view the page (using Tiles), the options/links to export appear to be blank as seen in
the screenshot (Figure 1).
HOWEVER, when I view the page (directly viewing the JSP without using Tiles), the options/links
to export are visible. (Figure 2)
THE STRANGE PART: In Figure 1, the links to export do not appear to be there. BUT, if I copy
that part of the screen in the browser and paste it into Notepad, the links are shown! For
In the browser, it looks like:
"Export to: | | |"
If I copy and paste this from the browser into Notepad, it looks like:
"Export options: CSV | Excel |"
PROBLEM: Export links do not appear in the browser when using Tiles (but when pasted into Notepad,
the links appear to be there) How do I get the export link options to appear in the browser when using Tiles?
Does anyone have any solution or suggestions to resolve this?
Thank you so much for your help. If there are any details or questions you may have, please
let me know.
NOTE: I'm not sure if the displaytag.properties file is being picked up. The label change in the export banner I am able to change using the .properties file. However, I have modified to only have excel export but CSP and XML export also show up.