0 Replies Latest reply on Oct 27, 2010 1:47 PM by ginni

    Help with Seam PDF?

    ginni

      Trying to use Seam PDF with ui:composition and includes... Works fine without ui:composition (just p tags), but not with.  Is it possible? This is the start of my xhtml page:


      <p:document xmlns:p="http://jboss.com/products/seam/pdf"
                  title="Standard Authority Matrix">
      <ui:composition 
           xmlns="http://www.w3.org/1999/xhtml"
           xmlns:h="http://java.sun.com/jsf/html"
           xmlns:f="http://java.sun.com/jsf/core"
           xmlns:ui="http://java.sun.com/jsf/facelets"
           xmlns:s="http://jboss.com/products/seam/taglib"
           xmlns:a4j="http://richfaces.org/a4j"
           xmlns:rich="http://richfaces.org/rich"
           template="/template.xhtml">
      
      
           <!-- CONTENT -->
           <ui:define name="content">
           <p:chapter number="1">
      
           <!-- TITLE -->
           <p:title>
            <p:paragraph>
      




      And the error I get running it:


      
      Caused by: java.lang.RuntimeException: Couldn't find ITextComponent parent for component org.jboss.seam.pdf.ui.UIChapter



      Thanks in advance!