1 Reply Latest reply on Dec 3, 2010 9:36 AM by Robert Morse

    iText footer issue with embedded tables

    Waldo Nell Newbie

      Please explain to me.  When I use this:




      <p:document xmlns:p="http://jboss.com/products/seam/pdf"
                  type="PDF"
                  pageSize="A4" margins="72 72 50 50"         orientation="portrait"
                  disposition="attachment" fileName="new_wallet_enrollment.pdf" >
      
      <f:facet name="header">
       <p:footer borderWidth="0">
         <p:font size="6" color="lightgray">
          <p:paragraph alignment="left">Blah</p:paragraph>
          </p:font>   
       </p:footer>
      </f:facet>
      
      ...





      It renders the footer just fine.


      If I do this:




      <p:document xmlns:p="http://jboss.com/products/seam/pdf"
                  type="PDF"
                  pageSize="A4" margins="72 72 50 50"         orientation="portrait"
                  disposition="attachment" fileName="new_wallet_enrollment.pdf" >
      
      <f:facet name="header">
       <p:footer borderWidth="0">
         <p:font size="6" color="lightgray">
          <p:table><p:cell><p:paragraph alignment="left">Blah</p:paragraph></p:cell>
          </p:table></p:font>   
       </p:footer>
      </f:facet>
      
      ...
      




      then the footer renders perfectly, however it renders in the header of the page!