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
- RE: Musings on Attributes (was Best Practices...) Bob Silverberg
- Re: Musings on Attributes (was Best Practices...) Derek Hamilton
- Routine to automatically call a Stored Proc (was Musings... Bob Silverberg
- RE: Musings on Attributes (was Best Practices...) Nat Papovich
- RE: Musings on Attributes (was Best Practices...) Mike Craig
- RE: Musings on Attributes (was Best Practices...) Nathan Shaw
- RE: Musings on Attributes (was Best Practices...) Toby Tremayne
- RE: Musings on Attributes (was Best Practices...) Nat Papovich
- RE: Musings on Attributes (was Best Practices...) Hal Helms
- Re: Musings on Attributes (was Best Practices...) Steve Nelson
- RE: Musings on Attributes (was Best Practices...) Jeff Peters
- RE: Musings on Attributes (was Best Practices...) Roger B.
- RE: Musings on Attributes (was Best Practices...) Hal Helms
- XFB? (was IIF( Musings on Attributes Loop(was Best Pract... Ben Koshy
- Re: Musings on Attributes (was Best Practices...) Peter Theobald
- RE: Musings on Attributes (was Best Practices...) Hal Helms
- Re: Musings on Attributes (was Best Practices...) Fred T. Sanders
- RE: Musings on Attributes (was Best Practices...) Peter Theobald
- RE: Musings on Attributes (was Best Practices...) Patrick McElhaney
- RE: Musings on Attributes (was Best Practices...) Hal Helms
- RE: Musings on Attributes (was Best Practices...) Jeff Peters
