I have a page that uses the <CFREPORT> tag to display a report in .pdf.
Now, instead of displaying this particular .pdf to the user in the browser, I want to save it to a file. No problem there, it does that and just gives me whatever was on the page that contained the cfreport tag. However I want to use <CFREPORT> to create this file, then have it run another page that creates a different .pdf file, then use CFPDF to merge the two. I know how to do all this and it works, but where should I put the <CFREPORT> tag? Controller, or View? There will still be instances where I want to return the .pdf to the browser? I want to be able to do either scenario with the same code. If you say view, a .cfm file, then do I just call those 2 different views in modelglue.xml and then the final "body" view that puts them together and displays or saves them? -- David Mineer Jr --------------------- The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. --~--~---------~--~----~------------~-------~--~----~ Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en -~----------~----~----~----~------~----~------~--~---
