Exactly what I was going to say :)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Barney Boisvert
Sent: Monday, November 01, 2004 6:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] calling "up" from child to parent CFC's

I'd use init to pass it in.  As long as there is only a single
configmanager instance, then you can update it's instance variables
and every object in your application will immediately have the new
values.

cheers,
barneyb


On Mon, 01 Nov 2004 18:39:05 -0500, Barry L Beattie <[EMAIL PROTECTED]> wrote:
> >> Why not just write a ConfigManager object, whose sole purpose is to
store configuration information?
> 
> yes, this sounds like a better way to do it. much neater. Would I pass in
the object when the controller gets init'd?
> (the trick is changing the values easily and have it perculate thru the
layers - eg by reference - without explicitly destroying the objects, yes?).
> 
> thanx
> barry.b
> 
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

I currently have 0 GMail invites for the taking
----------------------------------------------------------
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]



----------------------------------------------------------
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]

Reply via email to