> And just to add more fuel - I have not shared any incorrect
information
> - if I have, please let me know where.
>
"You should not directly output from the method, but should instead
return a string with your output."

The above statement isn't necessarily incorrect, but it is an opinion
you haven't supported.

> I simply wanted to make people
> aware that outputting from the CFC leads to certain restrictions - not
> bad 'oh my god the world will fall' type restrictions, but I think
most
> people here got the point. This has gone around and around all night
> now, so let me just make one last summary - if you output the result
of
> a cfc method directly in the method instead of cfreturning it - you
will
> not be able to use the method via flash or a WS. This isn't a huge
deal
> (and frankly I'm unsure why it's still being debated) - just remember
> it.
> 
Again, I am trying to understand why you think this is a limitation. If
I have a CFC whose sole purpose is to output HTML to a browser, why
would I want to call it from Flash? How have I limited myself?

-Matt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to