OpenCms JSP standard taglib
Tag pdf


This tag can be used for PDF generation. The primary use case is the PDF output of a specific content. It expands to a link for a PDF which is generated on the fly when the link is requested. The PDF is generated from an XHTML document via the Java library "Flying Saucer".


Tag Information
Tag Classorg.opencms.jsp.CmsJspTagPdf
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
formattruetruejava.lang.StringLink (VFS URI) to the JSP that renders the XHTML used to render the PDF.
contenttruetruejava.lang.StringLink (VFS URI) to the content that should be rendered in the PDF. The content given here can be accessed via the <cms:formatter> tag in the JSP provided by the format attribute.
localefalsetruejava.lang.StringThe locale in which the content should be accessed. If not given, the current request locale is used as default.
paramEncodingfalsetruejava.lang.StringThe encoding used to encode URL parameters .
filenamefalsetruejava.lang.StringThe file name to use for the download link.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.