You could do this using a table decorator that outputs your title before any data rows are written.  For an example that shows using table decorators with exporters, follow this link:
http://www.jamesgood.com:8080/displaytag-examples-1.1-SNAPSHOT/example-new-export.jsp
(Note, it'll be back up tonight (EST); it's been down due to Hurricane Wilma's aftermath.)
The code is in cvs, in the displaytag-examples project.
 
 In 1.1, you'll be able to this with a caption tag whose media is "excel".
-Jorge

Martin Ravell <[EMAIL PROTECTED]> wrote:

Is it possible to get some extra information included in the exports from a displaytag?

 

What I need is to be able to send an extra row at the start of the spreadsheet to be a Title.

 

Is there anything that lets me do this out of the box or do I need to mess with building a new class based on org.displaytag.export.ExportView?

 

 

Regards

Marty

 

 


Yahoo! FareChase - Search multiple travel sites in one click.

Reply via email to