p:table embedded in p:footer?
mdesignz Apr 26, 2009 3:12 AMI've been working with the iText integration within Seam for quite a while and it's terrific, but I have a new requirement of producing a footer section on each page that is rather lengthy and has an embedded 4 column table in it. When I place a
<p:table> within the <p:footer>
it actually shows up in the header on each page. The text following the p:table shows up correctly in the footer. Any suggestions on doing this? My latest code attempt is below. The alternative would be to have a fixed position chunk of text on each page, but that's kinda the definition of a footer.
<f:facet name="header"> <p:header /> <p:font family="times-roman" size="6" style="normal"> <p:footer borderWidth="0" alignment="left"> <p:paragraph> <p:table widthPercentage="100" borderWidth="1" columns="4" widths="1 1 3 3"> <p:font family="times-roman" size="6" style="normal"> <p:cell paddingTop="0" borderWidth="1" horizontalAlignment="center" verticalAlignment="top"> <p:paragraph horizontalAlignment="center">NOT A DEPOSIT</p:paragraph> </p:cell> <p:cell paddingTop="0" borderWidth="1" horizontalAlignment="center" verticalAlignment="top"> <p:paragraph horizontalAlignment="center">NOT FDIC INSURED</p:paragraph> </p:cell> <p:cell paddingTop="0" borderWidth="1" horizontalAlignment="center" verticalAlignment="top"> <p:paragraph horizontalAlignment="center">NOT GUARANTEED BY OR AN OBLIGATION OF THE BANK</p:paragraph> </p:cell>| <p:cell paddingTop="0" borderWidth="1" horizontalAlignment="center" verticalAlignment="top"> <p:paragraph horizontalAlignment="center">NOT INSURED BY ANY FEDERAL GOVERNMENT AGENCY</p:paragraph> </p:cell> </p:font> </p:table> </p:paragraph> <p:paragraph> <p:font family="times=roman" size="6"> <p:paragraph>Lots and lots of text goes here. This part actually shows up correctly.</p:paragraph> </p:font> </p:paragraph> </p:footer> </p:font> </f:facet>