Could you include the code for MyPdfView and the full displaytag code in your jsp?  Thx.  -J

Guillaume Drot <[EMAIL PROTECTED]> wrote:
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 = My Pdf
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 (). 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


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Reply via email to