> On Tuesday, Nov 19, 2002, at 13:57 US/Pacific, > S. Isaac Dealey wrote: >>> Correct. Or <cfoutput> for that matter. This is a >>> known bug. Oh, so there's a plan for this to change >>> in the future... cool. :)
> Not if I have anything to do with it :) > FWIW, I think it's fine that CFCs in shared scopes can't > output HTML - I don't like that idiom so I'm perfectly > happy for that bug not to be fixed. >>> The second example will work on the first hit only. >>> As it stands, many people (myself included) think >>> it's a bad idea to directly output from the method. >>> But - that's another discussion... > *grin* Well, there you go... Ray and I are in agreement > on this one. Well, I think at the very least you should be able to to output html (anything really) directly from #application.mycfc.mymethod()# where the return value from mycfc.mymethod() is a string value, and have it work on more than the first hit on a given page. Whether that's good form or not is an entirely different story, but I think not being able to is like saying "You can't bring (physically carry) that lamp in here because the walls are beige." So I'd advocate some kind of fix for it -- even if it's not a "best practice". s. isaac dealey 954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

