Are you sure you have the attributes scope defined yet. Unlike form or url, the scope doesn't always exist. If you are not in a Custom tag and you define vars in the attributes scope, you have to create the scope as a structure before using it.


<cfset attributes.test = 1>
<!--- works --->
<cfdump var="#attributes.test#">
<!--- doesn't work --->
<cfdump var="#attributes#">


<cfset attributes = StructNew()>
<cfset attributes.test = 1>
<!--- works --->
<cfdump var="#attributes.test#">
<!--- works --->
<cfdump var="#attributes#">


Pascal

-----Oorspronkelijk bericht-----
Van: Stephen Hait [mailto:[EMAIL PROTECTED]
Verzonden: vr 7/11/2003 7:23
Aan: CF-Talk
CC:
Onderwerp: CFDUMP question, attributes scope - CF 5


I have CF 5 Enterprise running locally and a client with CF 5
Professional. I can run CFDUMP var="#attributes#" locally no
problem. Running this on the client's machine gives me an error
resolving parameter ATTRIBUTES. Does anyone know what
problem I'm running into here?



[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to