RE: Methods not found.

2009-11-26 Thread Chung Chow
Thanks for all the help! I figured it out. Well, not really. I just moved everything around back to what I needed and it just worked. I might have maybe spelled variables wrong or something. LOL So odd. 2009/11/26 Chung Chow cyc...@annex.net Hi all, I'm trying to

Re: Methods not found.

2009-11-26 Thread Dave Watts
Hi Kevin. I've read that whole site a couple of days ago.  Good stuff. But apart from making these utilities load in an application scope, I was trying to find a better way accesing them object-wide I guess.  I'm worried aboout having to load all these utilities objects in a application

Methods not found.

2009-11-25 Thread Chung Chow
Hi all, I'm trying to instantiate an object either in the psuedo-contructor or init of my cfc as a variable so I can use it within all my method inside that cfc. For some reason when I call a method from that object I get a Method not found error. I'm not sure if this is the best way of going

Re: Methods not found.

2009-11-25 Thread Charlie Stell
I believe you would want : variables.errorMsg = createObject(component, com.util.errorMessages).init(); On Wed, Nov 25, 2009 at 3:36 PM, Chung Chow cyc...@annex.net wrote: Hi all, I'm trying to instantiate an object either in the psuedo-contructor or init of my cfc as a variable so I can

RE: Methods not found.

2009-11-25 Thread Chung Chow
] Sent: Wednesday, November 25, 2009 12:37 PM To: cf-talk Subject: Methods not found. Hi all, I'm trying to instantiate an object either in the psuedo-contructor or init of my cfc as a variable so I can use it within all my method inside that cfc. For some reason when I call

RE: Methods not found.

2009-11-25 Thread Chung Chow
-talk Subject: Re: Methods not found. I believe you would want : variables.errorMsg = createObject(component, com.util.errorMessages).init(); On Wed, Nov 25, 2009 at 3:36 PM, Chung Chow cyc...@annex.net wrote: Hi all, I'm trying to instantiate an object either in the psuedo

Re: Methods not found.

2009-11-25 Thread Matt Quackenbush
You should not be var'ing your constructor variables. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: Methods not found.

2009-11-25 Thread Charlie Stell
Id check the following: That your referring to the CFC in the same way you are defining them. (since you say it works when defining with teh functions, I think this is most likely) The method-access on the other CFCs. That the init function of external CFCs are returning this. You could also

Re: Methods not found.

2009-11-25 Thread Charlie Stell
(component, com.util.imageManager).init(); variables.instGateway = createObject(component, FeedsGateway).init(application.global); /cfscript -Original Message- From: Chung Chow [mailto:cyc...@annex.net] Sent: Wednesday, November 25, 2009 12:37 PM To: cf-talk Subject: Methods

RE: Methods not found.

2009-11-25 Thread Chung Chow
-Original Message- From: Charlie Stell [mailto:charlie.st...@gmail.com] Sent: Wednesday, November 25, 2009 1:03 PM To: cf-talk Subject: Re: Methods not found. Id check the following: That your referring to the CFC in the same way you are defining them. (since you say it works when

Re: Methods not found.

2009-11-25 Thread Kevan Stannard
I'm not sure if this is the best way of going about it so if anyone has a better idea, I'd like to hear about it. :) You may like to take a look at 'dependecy injection' techniques http://learn.objectorientedcoldfusion.org/wiki/Dependency_Injection 2009/11/26 Chung Chow cyc...@annex.net

Re: Methods not found.

2009-11-25 Thread Charlie Stell
Try the following - Add a function to your cfc that will return variables.X - X being whatever instantiated cfc you cant call the function of. Dump the results of new function - this should help you debug. ~| Want to reach

RE: Methods not found.

2009-11-25 Thread Chung Chow
. -Original Message- From: Kevan Stannard [mailto:ke...@stannard.net.au] Sent: Wednesday, November 25, 2009 1:56 PM To: cf-talk Subject: Re: Methods not found. I'm not sure if this is the best way of going about it so if anyone has a better idea, I'd like to hear about it. :) You may

Re: Methods not found.

2009-11-25 Thread Kevan Stannard
sorting through all the damn terminology and concepts. -Original Message- From: Kevan Stannard [mailto:ke...@stannard.net.au] Sent: Wednesday, November 25, 2009 1:56 PM To: cf-talk Subject: Re: Methods not found. I'm not sure if this is the best way of going about it so