On Wed, 21 Jul 2004 10:25:38 -0400, Dave Carabetta <[EMAIL PROTECTED]> wrote: > But how does following those practices change the fact that a > cfsetting tag on the calling page effects the cfsavecontent output in > a CFC?
I would argue that best practice is to say <cfsavecontent ..><cfoutput> .. </cfoutput></cfsavecontent> for clarity so you are exerting control over exactly what goes into the saved content. > Further, how does following best practices alleviate the fact > that the CFC directly references the form scope, which is something we > should avoid? But the CFC *doesn't* directly reference the form scope. "form" appears nowhere inside the CFC. The CFC simply dereferences an argument - it doesn't know or care what the argument value is. -- Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
