-Jorge
Christopher Becker <[EMAIL PROTECTED]> wrote:
Can anyone help with this issue? I am at a loss as to how to get the table caption to display in the excel output file. Everything else works just fine. Any help would be appreciated... thanks!Regards,--Chris
>>> [EMAIL PROTECTED] 5/11/2006 9:48:02 AM >>>_______________________________________________I am using displaytag1.1, and working with Excel export. The data portion of the list is exporting correctly, but I am having trouble exporting a caption into Excel. I don't want to display the caption on the jsp page - only in the Excel export file.Here is how I set up the tag:<display:caption media="excel">User List</display:caption>And here is my displaytag.properties file:export.types=excel
export.decorated=true
export.excel=true
export.csv=false
export.xml=false
export.pdf=false
export.excel.class=org.displaytag.export.ExcelView
export.excel.filename=test.xls
export.excel.include_header=true
export.excel.label=<img src="" border="0" alt=""> Excel
export.banner=<div class="exportlinks">Export to: {0}</div>The data columns and header info are exported correctly, but the caption does not. If I change the media attribute to include both html and excel, the caption shows in the jsp page, but still not in the excel file.I also notice that the file being generated in Excel is named a little oddly - it shows as test[1].xlsThis is in a Struts 1.2.7 app, using Tiles, and I have added an export filter to web.xml fileAny insight or guidance as to how to get the caption into Excel would be appreciated.... thanks!Regards,--Chris
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice
_______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

