Ok, it's Monday....
 
the answer is: this.name
 
'sigh' :)Brent Nicholas -  "There, I guess King George will be able to read 
that!" - John Hancock


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [CFCDEV] access to 
"applicationname" in extended CFCDate: Mon, 23 Apr 2007 15:03:47 -0600


Howdy all -  Does anyone know why I can't access the the 
'application.applicationname' variable while in an extended CFC? Ex: 
wwwroot/Application.cfc-----------------------<cfcomponent output="false">    
<cfset this.name="CFLHDIntranet">    <cfset this.sessionmanagement="yes">    
<cfset this.SetClientCookies="no">    <cfset 
this.loginstorage="session"></cfcomponent>----------------------- 
wwwroot/SubFolder/Application.cfc-----------------------<cfcomponent 
extends="CFLHDIntranet.Application">      <cflogin 
applicationtoken="#application.applicationname#"></cflogin>  <--- (1)      
<cfoutput>#application.applicationname#</cfoutput>                       <--- 
(2)</cfcomponent>-----------------------1) Original code, throws error: 
"Element APPLICATIONNAME is undefined in APPLICATION." 2) I commented out (1), 
then just tried to output this line. same error. Though if I comment them both 
out, I will see in the CF debug: Scope Variables - Application 
Variables:applicationname=CFLHDIntranetThoughts? Thanks for your time -  Brent 
Nicholas -  "There, I guess King George will be able to read that!" - John 
HancockYou are subscribed to cfcdev. To unsubscribe, please follow the 
instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported 
by:Katapult Media, Inc.We are cool code geeks looking for fun projects to 
rock!www.katapultmedia.comAn archive of the CFCDev list is available at 
www.mail-archive.com/[email protected] 

You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to