Marc,

Does this init() method of your component return THIS?

If it doesn't return anything, then the result will be the annihilation of your 
default - as though it had never been set.

Steve

> Hi,
> Because I want to speed up access to calls to a component I put it in 
> the application scope. First I have to be sure it's there and if not, 
> put it there. So in application.cfm I do this:
> 
> <cfparam name="APPLICATION.objects.db" 
> default="#CreateObject('component','components.db').
> init(dns='myDNS')#">
> 
> But then I get an erromessage:> Anybody knows whats wrong here??? 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294182
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to