When you say, x = this.foo, it acts as an outside call. Just do

<cfset goo = foo(arg)>

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 14, 2003 8:34 AM
> To: CF-Talk
> Subject: CFC question
> 
> 
> Ok, I built a CFC replete with some methods.  One method, 
> call it foo, is to be called only from WITHIN the CFC.  Now, 
> I call the method like this <cfset goo = this.foo(arg)>
> 
> If the method is declared with a specifier of public or 
> package, all is good.  But if I declare it as private, it 
> bombs out with an error about not finding the method.  I 
> thought a private method is available to the component it 
> lives in?  So whats the deal?
> 
> Cheers!
> 
> --
> Douglas Knudsen
> ACI Rapid Response Team
> 678-351-6063
> "To fear love is to fear life, and those who fear life are 
> already three parts dead." Bertrand Russell 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to