Did you add the filter to your web.xml as it says on the site?
http://displaytag.sourceforge.net/export_filter.html

<filter>
    <filter-name>ResponseOverrideFilter</filter-name>
    <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>ResponseOverrideFilter</filter-name>
    <url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
    <filter-name>ResponseOverrideFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
</filter-mapping>


On 10/20/05, Torsten Frehe <[EMAIL PROTECTED]> wrote:
> I am using displaytag with a TableDecorator wrapper in a Struts app that
> uses Tiles.
> Know I want  to use the export-function.
> But the export-function will not export the table into csv, excel,pdf or
> xml.
> It always open the same page in the same browserwindow without data.
> I also want to export the data into pdf, but the export to pdf isn´t shown
> in the footer.
> Who can I export the data?Where is the mistake?
>
> The displaytag.properties looks like this:
> export.banner.sepchar= |
> export.types=csv excel pdf xml
> export.excel.class=org.displaytag.export.ExcelView
> export.excel.include_header=true
> export.excel.label=Export to excel
> export.excel.filename=tabelle.xls
> export.pdf=true
> export.pdf.class=org.displaytag.export.PdfView
> export.pdf.include_header=true
> export.pdf.label=Export to pdf
> export.pdf.enable=true
>
> Regards,
>
> Torsten


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to