Nathan, I am not sure who wrote Pet Market for MM. Have you ever taken a look at the User.CFC?
<!--- PetMarket ---> <cfscript> this.userid = this.userid; this.familyname = getUser.familyname; this["billing"]["firstname"] = getUserBillingAddress.firstname; ..... Are u saying the above should be replaced with <cfscript> userID = userIDValue; familyName = getUser.familyName; and <cfReturn variables> would return instance data of the CFC? Joe Eugene > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Nathan Dintenfass > Sent: Monday, October 06, 2003 3:02 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] Variable referencing in CFCs > > > Yes and Yes. > > Rule of Thumb (knowing all rules are made to be broken): If you > type "This." > in a CFC you are probably doing something wrong. > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Behalf Of Adam Wayne Lehman > > Sent: Monday, October 06, 2003 11:54 AM > > To: [EMAIL PROTECTED] > > Subject: RE: [CFCDev] Variable referencing in CFCs > > > > > > <cffunction name="myCFC"> > > <cfscript> > > VARIABLES.myVar = "false"; > > THIS.myVar = "true"; > > </cfscript> > > <cffunction name="myMethod"> > > <cfreturn myVar> > > </cfunction> > > </cffunction> > > > > So Nathan, are you saying that these are two separate variables? If so > > does that mean myMethod() would return false? > > > > Adam Wayne Lehman > > Web Systems Developer > > Johns Hopkins Bloomberg School of Public Health > > Distance Education Division > > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word '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 word '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]
