[jboss-user] [JBoss Seam] - Seam PDF issue

nemya do-not-reply at jboss.com
Mon Sep 17 03:46:26 EDT 2007


Hi,
I'm using Jboss Seam 1.2.1.GA + Jboss Server 4.0.5.GA. I'm trying to generate PDFs. I added the "jboss-seam-pdf.jar" and the "itext-2.0.1.jar" to my project. And I created a simple page (token from a tuto):

<p:document xmlns:p="http://jboss.com/products/seam/pdf"> 
  |     <p:image alignment="right" wrap="true" resource="/logo.jpg" />
  |     <p:font size="24">
  |         <p:paragraph spacingAfter="50">My First Document</p:paragraph>
  |     </p:font>
  | 
  |     <p:paragraph alignment="justify">
  |         This is a simple document.  It isn't very fancy.
  |     </p:paragraph>
  | </p:document>

When I call this page I have the following exception:

09:36:07,187 ERROR [ExceptionFilter] uncaught exception
  | javax.servlet.ServletException: com/lowagie/text/DocumentException
  | 

Please some help. I have to make this work today otherwise my boss will kill me.
Thank you

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084910#4084910

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084910



More information about the jboss-user mailing list