How to enable PDF export

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to enable PDF export

Morten Matras-3
I need to enable PDF based export and have the following export related stuff in displaytag.properties in WEB-INF/classes:
----
export.amount = list

export.types=pdf rtf xml
export.excel=true
export.csv=true
export.xml=true
export.pdf=true
export.rtf=true

export.pdf.class=org.displaytag.export.PdfView
export.rtf.class=org.displaytag.export.DefaultRtfExportView
export.excel.label=Excel
export.csv.label=CSV
export.xml.label=XML
export.rtf.label=RTF
export.pdf.label=PDF

----

The strange thing is that on the web-page with the display tag inserted I only have these buttons: CSV | Excel  XML. This doesn't change when I alter the export.types property.

I've got displaytag-1.2.jar in WEB-INF/lib plus the .jar files required by that.

I use Tomcat 6.0.18 and JDK 1.6


--
  Morten Matras
  Consultant
  Blob Communication ApS
  Svendsagervej 42
  DK-5240 Odense NØ
  P: (+45) 76 6-5-4-3-2-1
  W: www.blobcom.com
  E: [hidden email]

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
displaytag-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-user