> > The more I think about this, the more that I think my second > suggestion (I.E. an auditTrail property of the department) > may be the best > solution. Unfortunately, the documentation is scarce when it > comes to > properties and I have not done testing with component > properties and how > they relate to methods of those components. > Do you have any additional thoughts on this one Ray?
Well, it depends on how complex you want to get - but in general, there is nothing wrong with doing <cfset this.myLogger = createObject("component","auditTrail")> in your constructor and then doing: <cfset this.myLogger.log(...)> in your methods. -ray (trying to type w/ a squirmy baby on my lap) ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists