I really wasn't looking for a how too, more of a guide if it was ok or not.
Well, it was meant as a way to say: here's how to keep presentation and logic separate (a possible best practice) rather than mixing both inside the CFC.
I wasn't sure if it was frowned upon and was looking if others had considered putting HTML outputting like this into CFC's.
It isn't really black and white... as Matt says, it's OK to have a pure display / formatting CFC... just keep the presentation and logic separate. One consideration is how easy you want it to be to edit the "HTML"... a .cfm file is marginally easier for most visual editors to work with (if that's a requirement).
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]
