coldfusion - Adding a footer only to the last page when using cfdocument -


i'm creating multipage document using cfdocument (created using dynamic text have number of pages one).

i can use <cfdocumentitem type="footer"> add footer every page, there way can add footer last page of document?

thanks.

just add evalatprint attribute. can use page number variables conditionally set footer.

<cfdocumentitem type="footer" evalatprint="true">     <cfif cfdocument.currentpagenumber eq cfdocument.totalpagecount>         last page     </cfif> </cfdocumentitem> 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -