Documentation out of date for PDF support
-----------------------------------------
Key: JBSEAM-2372
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2372
Project: JBoss Seam
Issue Type: Task
Components: PDF
Affects Versions: 2.0.0.GA
Reporter: Eric Nelson
The 2.0.0GA documentation found at
http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/itext.html for configuring
DocumentStore (section 16.1.8) appears to be for an older version of the code.
Specifically
<pdf:documentStore useExtensions="true" />
seems to have been refactored and needs to be
<pdf:document-store use-extensions="true" />
Additionally, the filter definition seems to be no longer required (the itext example
project does not have it in web.xml) so remove
<filter>
<filter-name>Seam Servlet Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamServletFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Seam Servlet Filter</filter-name>
<url-pattern>*.pdf</url-pattern>
</filter-mapping>
I would also recommend in section 16.1, which specifies the jars required to support pdf
generation, explicitly include jcommon.jar and jfreechart.jar. The exceptions from not
having those jars in the path are relatively difficult to understand.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira