Also, as Matt said, this sort of thing screams "ColdSpring": <cfset page = CreateObject("component","core.valueObjects.Page").init()> <cfset head = CreateObject("component","core.valueObjects.Head").init(title:"This is a new title")> <cfset page.setHead(head)>
Trust me, if you're serious about building OO CFC-based apps, this only going to get worse and worse. Save yourself a lot of pain and just learn ColdSpring right now. ;-) On 10/11/07, Brian Kotek <[EMAIL PROTECTED]> wrote: > > You can try clearing the template cache in the CF administrator. Sometimes > the way CF stores CFCs in its cache can screw things up when it comes to > typing if you have moved things around, changed names, or instantiated the > same component from multiple folders. It thinks the type is pointing > somewhere else. > > On 10/11/07, Tim Ashworth <[EMAIL PROTECTED]> wrote: > > > > Thanks for the reply Matt, > > > > I have to confess I'm not particularly looking forward to learning a > > framework. I was sort of hoping that defining class paths to cfcs would > > be > > a setting somewhere...... > > > > I ColdSpring sounds cool tho, I'll check it out. > > > > Thanks again > > > > Tim > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290868 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4