I supposed I could do that, it just seems cleaner to output it from within
the CFC. That way all I have in my main template is a line of code found
within a cfscript tag.

:)

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 2:14 PM
To: CF-Talk
Subject: Re: removing whitespace from within CFC output


Michael Dinowitz wrote:
> I use cached CFCs to output 'pods' in my replacement code for blogCFC.
Works
> great.

why wouldn't you just have the CFC return the content as a string and do
this?

<cfoutput>#sessuib,myCachedCFC("podName")#</cfoutput>

I understand it's a matter of preference, and of course it's a rule of
object oriented programming which you can throw to the dogs anytime you
want... but I've never felt the need to output anything besides
debugging info in a CFC - and only then during the development process.

Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234721
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to