Either, until you figure out why it doesn't belong where you put it  
and decide to move it. :)

Once you do, come back and tell us what you did, what you discovered  
in the process and what the pain point was that induced you to chance  
it. ;)

J

On Oct 28, 2009, at 4:13 PM 10/28/09, David Mineer wrote:

> 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?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to