Results of tests for those who suggested using <cfset attributes = StructNew()>:
DON'T DO IT.

1.  If you use that statement in a custom tag PRIOR to using any genuine 
attributes that were passed, you will destroy your ability to address the 
genuine atttributes scope, and thus lose any attributes that were passed in.

2.  If you use that statement AFTER reading attributes that were passed, you 
still don't get a unified structure of genuine attributes and other stuff you 
add to the new structure called "attributes".

Erki's thoughts on a GetPointer() function are sound; that would be the optimum 
solution (for neatniks like me and Hal ;) ).  

- Jeff


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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