To me, my header and footer are present in all my pages. I have no limitation !
Same here. The itext example app has pdfs with page numbering starting from the beginning. Maybe the poster is using a really old version of Seam?
I am using Seam 2.2SP1, and I see the header or footer but if I try to configure them both, one of them disappears...
P.D. If this limitation is for a very old version of Seam (and it is only a coincidence that it is failing for me), maybe you should submit a documentation bug in JIRA?
<f:facet name="header"> <p:font size="14"> <p:header borderWidthTop="0" borderWidthBottom="0.4" alignment="left"><p:paragraph><p:html> HTML work in Headers but not in Footers </p:html> </p:paragraph> </p:header> <p:footer borderWidthTop=".4" borderWidthBottom="0" alignment="left">Request Liste - Seite [<p:pageNumber/>]</p:footer> </p:font> </f:facet>
Header and Footer starting from the first page. With HTML you can put images in the header!
Well, I use 2.02SP1, too. And if I use the
p:footertag, it doesn't display it on the first page. The limitation is unnecesary. And I had a quick look at iText. It doesn't seem as it is an iText limitation.
I want to use the PDF-feature to create orders and invoices. There has to be the same footer on every page.
The limitation makes sense, if you want to print books etc....
P.S.: I tried it with footer. No header the same time
Revision: SEAM 2.0.1.GA
1. The header facet must be at the root of the document.
2. My experience is that the header example above did not render. When I removed the p:html tags then the header was rendered on all pages.
Mmm, I haven't downloaded JBoss Seam 2.1.0.CR1 but the limitation seems to be there too:
The p:header and p:footer components provide the ability to place header and footer text on each page of a generated document, with the exception of the first page.
Please post a full xhtml file you think is not working correctly. Headers and footers work correctly on all pages. I'm sorry for any documentation errors. I'll fix them now.