CFDOCUMENTITEM, Why Hast Thou Forsaken Me
Posted: February 26th, 2010 | Author: Christopher Vigliotti | Filed under: ColdFusion | 2 Comments »I’m working on generating PDF reports in ColdFusion 8 using the quick and easy cfdocument tag, and discovered that I cannot open and close tables using cfdocumentitem headers and footers. Here’s what I would have liked to do…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <cfdocument attributecollection="#cfdocAttributes#"> <cfdocumentitem type="header"> <table border="5"> <tr> <th>ID</th> <th>Name</th> </tr> </cfdocumentitem> <cfdocumentitem type="footer"> </table> </cfdocumentitem> <cfoutput query="qPeople"> <tr> <td>#ID#</td> <td>#Name#</td> </tr> </cfoutput> </cfdocument> |
Apparently there is a work-around for this if one is using Open BlueDragon. If anyone out there has a ColdFusion 8 solution that they’d care to share I would appreciate it…and apparently so would fellow CF developer Renu Deshpande.