> 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".
Jeff,
But then there's:
3. If you do an IsDefined("attributes") prior to the StructNew(), you can
move everything into the attributes scope, you don't overwrite anything, and
you end up with a structure you can loop over.
--
Roger
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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...) 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
- RE: Musings on Attributes (was Best Practices...) Roger B.
