This content has been marked as final. Show 6 replies
> document.write('<cfdocumentitem type = "pagebreak" />');
I don't think you ought to expect the CF server to know about CFML that's
being output on the client browser... ;-)
have a read of my response to this thread - < http://tinyurl.com/2e3lwn>
< http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=3&threadid=81 2773&arctab=arc>
- for an explanation as to how CF and the client application play with each
Move my height to coldfusion??? How can coldfusion pre-determine the height value when the table hasn't been process? Could you provide an example of moving my height to coldfusion?
Instead of looking at the height, try looking at how may rows of data you are going to put on each page.
I'm toying with the idea of sending the height information of each record back to the server so coldfusion can collect the height attribute of each record and calculate where to write cfdocumentitem type=pagebreak. But I'm not sure how to accomplish this.
Any ideas. Please advice.
You probably will have to be very recursive with this one. Output it. Check the height. Store the height in a form field. Send it back to the server so CF can read the form field and put it in the right place.
Just a thought. I've never tried to do it that way.