Any <cfset var = ...> have to be placed at the top of the CFC but after any
<cfargument> tags. So if you just put the keyword "var" before "stateEvents"
where it is now (5 lines down?), CF *will* throw an error.

/cody 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Brian Peddle
Sent: Thursday, March 23, 2006 8:53 AM
To: [email protected]
Subject: RE: [CFCDev] Application Scoped CFC

Thanks for suggestions everyone .. I may have deeper issues with this stuff.

<cfset var stateEvents = getStateEvents(arguments.event) />  caused an error
in the FunctionLoaded.cfc way up the maze of objects.

I also tried

<cfset var stateEvents = "" />
<cfset var stateEvents = getStateEvents(arguments.event) />  

Same issue.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Hugo Ahlenius
Sent: Thursday, March 23, 2006 10:59 AM
To: [email protected]
Subject: RE: [CFCDev] Application Scoped CFC

| I did add
| 
| <cfset variables.stateEvents = getStateEvents(arguments.event) />
| 
| Didn't seem to help

Try <cfset var stateEvents ... />
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.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 words 'unsubscribe cfcdev' as the subject of the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.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 words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

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


Reply via email to