> 1. The "attributes" scope as generated by formurl2attributes
> isn't the Attributes scope, so you can't do loop operations
> over an attributes structure and see all form, url, and
> attributes variables.

I tested this on different CF versions and if I remember correctly, then
CF did actually initialize attributes. as a structure up to some version,
and didn't from 4.5.1 on, I think. So the solution would be to use this
code in the beginning of formURL2attributes.cfm:

<cfif NOT IsDefined("caller.attributes") OR NOT
IsStruct(caller.attributes)>
   <cfset caller.attributes = StructNew()>
</cfif>


Erki


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to