-
1. Re: Header and Footer: Not in the first page!
monstor Jun 26, 2008 4:32 PM (in response to luxspes)Hi.
To me, my header and footer are present in all my pages. I have no limitation !
-
2. Re: Header and Footer: Not in the first page!
norman Jun 26, 2008 6:39 PM (in response to luxspes)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?
-
3. Re: Header and Footer: Not in the first page!
luxspes Jun 27, 2008 1:19 AM (in response to luxspes)Hi!
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...
Any hints?
Thanks,
Regards,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?
-
4. Re: Header and Footer: Not in the first page!
dipas Jun 28, 2008 5:20 PM (in response to luxspes)Try this...
<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!
-
5. Re: Header and Footer: Not in the first page!
joeviterbo Jul 19, 2008 1:31 AM (in response to luxspes)Well, I use 2.02SP1, too. And if I use the
p:footer
tag, 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
-
6. Re: Header and Footer: Not in the first page!
csweeney Oct 20, 2008 9:38 PM (in response to luxspes)Revision: SEAM 2.0.1.GA
Notes:
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. -
7. Re: Header and Footer: Not in the first page!
luxspes Oct 21, 2008 3:51 PM (in response to luxspes)Submitted JBSEAM-3605
-
8. Re: Header and Footer: Not in the first page!
luxspes Oct 21, 2008 4:01 PM (in response to luxspes)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. -
9. Re: Header and Footer: Not in the first page!
norman Oct 22, 2008 6:04 PM (in response to luxspes)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.