The primary reason for that attribute is whitespace.

And I would suggest against outputting from a CFC. Better to return a
variable, then output THAT. 

-----Original Message-----
From: Chad Gray [mailto:[email protected]] 
Sent: Friday, November 20, 2009 8:58 AM
To: cf-talk
Subject: cfc output=yes


Are there any dangers I need to be aware of when setting a function in a CFC
(it is stored in the application scope) to output=yes?

I want the function to output some HTML when run.

I can't think of any, but just wanted to check.

Thanks,
Chad




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328577
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to