James Holmes wrote: > No, it's not a one liner unfortunately. I've gone through the MG code > and references to CFCs are all though it like this > > <cfset variables.beanMaker = createObject("component", > "ModelGlue.Util.CollectionBeanMaker").init(variables.state) /> > > The "ModelGlue" path, dependent apon a mapping, appears in numerous > places. If I want a different mapping I have to run a global search > and replace and ensure I don't accidentally mess up other code in > which the word ModelGlue appears.
Iw ould have to look it up, but IIRC there are three cases you need to fix: createObject("component", "ModelGlue.xxx" cfargument type="ModelGlue.xxx" cffunction returnType="ModelGlue.xxx" That would be the following instruction: 's/"component",\ "ModelGlue./"component",\ "NewMapping./ ; s/ype="ModelGlue./ype="NewMapping./ ' Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241073 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54