Hello,

I am trying to create my own export view with displaytag library. I have created a class named MyPdfView which implements ExportView interface. I have also declared the export type in the displaytag.properties file (placed in my application classpath). I also added the following code to the properties file :

export.types = csv excel xml mypdf pdf

export.mypdf                     = true
export.mypdf.label                = <span class="pdf">My Pdf</span>
export.mypdf.class                = org.test.displaytag.export.PdfViewStadup
export.mypdf.filename            = ExportMyPdf
export.mypdf.include_header    = true

Then, to use my own export view, I add the media parameter to the display tag (<displaytag:column media="excel mypdf" .../>). The problem is excel export is displayed in html page but not my own export. If I try to use pdf export defined in displaytag library, it works well. What can I do to solve this problem ? Please help me!!

Thanks,

Guillaume.


-------------------------------------------------------
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