<totalPages>-tag for pdf generation
-----------------------------------
Key: JBSEAM-4464
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4464
Project: Seam
Issue Type: Feature Request
Reporter: Robert Becker
When creating official documents it is often required to add something like "Page X
of Y" to the footer. The p:pageNumber-tag provides the first value whereas a
totalPages-tag is missing.
Márcio Dantas created and published a wokarround for this under
http://seamframework.org/Community/SeamPdfPageXOfY but this approach is somewhat
"dirty".
I see that it culd be problematic to provide the number of total pages while rendering the
document so perhaps a placeholder could be used and altered when onCloseDocument in
UIDocument is called.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira