Are you asking if one method in a cfc can call another? Yes. If you are in method A, for example, and want to call B, you can easily do:
<cfset foo = b()> ======================================================================== === 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: Tony Weeg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 20, 2003 12:56 PM > To: CF-Talk > Subject: RE: .cfc's and application.cfm file > > > so how about... > > can I make the functionality a cffuntion inside my > cfcomponent and call one cffuntion from within another? > > tony weeg > uncertified advanced cold fusion developer > tony at navtrak dot net > www.navtrak.net > office 410.548.2337 > fax 410.860.2337 > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 20, 2003 2:51 PM > To: CF-Talk > Subject: Re: .cfc's and application.cfm file > > > Errr... I didn't think CFC's were supposed to inherit > UDF's... except from other CFC's... > > You can however attach the existing UDF to the CFC like this afaik: > > <cfset this.methodname = evaluate("udfname")> > > Although you may need to store the UDF in another scope first, so more > like: > > <cffunction name="myudf">...</cffunction> > <cfset request.myudf = evaluate("myudf")> > > ... > > <cfset this.methodname = request["myudf"]> > > hth > > Isaac > > > ------ Original Message ------ > From: Tony Weeg <[EMAIL PROTECTED]> > To: CF-Talk <[EMAIL PROTECTED]> > Sent: Aug 20, 2003 01:26 PM > Subject: Re: .cfc's and application.cfm file > > >if I have a udf in my application.cfm file, why doesn't a cfc in the > >same dir inherit the udf function from it? > > > >thanks! > > > >tony weeg > >uncertified advanced cold fusion developer > >tony at navtrak dot net > >www.navtrak.net > >office 410.548.2337 > >fax 410.860.2337 > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com

