OK..well like I said the output that is created in the included  file is available to 
the calling
template, so just reference the vars created in the included file and do your nifty 
stuff to them.
It looks like you're making this process more complicated than it needs to be....but 
mabye I'm
missing something ;-)

Bryan Stevenson
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
p. 250.920.8830
e. [EMAIL PROTECTED]
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com

----- Original Message -----
From: "James Ang" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 10:56 AM
Subject: RE: Capture Output from CFINCLUDE?


> Sorry that I wasn't clear.
>
> I want the generated output produced by whatever code that was in the
> cfinclude. I am trying to perform a CFSAVECONTENT-like operation on
> CFINCLUDE files. Doesn't work with CFSAVECONTENT right now....
>
> I.e.
>
> <cfsavecontent variable="Variables.strCapturedOutput">
> <cfinclude template="helloworld.cfm">
> </cfsavecontent>
>
> Does not work.
>
> I want to be able to capture the output and do some nifty stuff to it.
> CFHTTP is not something I would want to try for what I want to do. ;)
>
> James.
>
> -----Original Message-----
> From: Bryan Stevenson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 10:50 AM
> To: CF-Talk
> Subject: Re: Capture Output from CFINCLUDE?
>
>
> more info plz....
>
> What do you mean by "capture"?  If you are doing some processing in an
> included file all the variables that are created should be available to
> the calling template.
>
> Bryan Stevenson
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> p. 250.920.8830
> e. [EMAIL PROTECTED]
> ---------------------------------------------------------
> Macromedia Associate Partner
> www.macromedia.com
>
> ----- Original Message -----
> From: "James Ang" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, January 18, 2002 10:42 AM
> Subject: Capture Output from CFINCLUDE?
>
>
> > Is it possible to capture the output from an included template?
> >
> > I have tried CFSAVECONTENT and also tried to wrap the cfinclude within
>
> > a custom tag and use ThisTag.GeneratedContent but to no avail.
> >
> > It is not an option to modify the cfincluded file. Nor is it an option
>
> > to convert it into a cf module. So, all suggestions are welcomed. :)
> >
> > If it is not possible, please let me know too! :)
> >
> > Thanks.
> >
> > James Ang
> > [EMAIL PROTECTED]
> >
> >
>
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to