---Reply to mail from Steve Martin about TO ALL: Request for ColdFusion SP2 Input
> You may be aware that when calling custom tags, either using the "CF_"
> syntax, or using "CFMODULE", you can pass a special attribute called
> "ATTRIBUTECOLLECTION", which is a struct of attributes. We use it quite a
> lot when using optional parameters, as it allows a collection of parameters
> to be created, and then sent "en masse" to a module, e.g.
>
> The change has come in how repeated variables are treated, e.g.
> <cf_SomeTag attributecollection=#MyAttributeStruct# X="Goodbye">
>
> Here X is specified twice, once in the attributecollection, once as a normal
> parameter.
>
> The problem (for me at least, moving code from 4.01 to 4.5) is that in 4.01
> the "normal" parameter has precedence, whereas in 4.5 the "struct" parameter
> has precedence, resulting in:
>
> 4.01 <cf_SomeTag X="Goodbye" Y="World">
> 4.5 <cf_SomeTag X="Hello" Y="World">
>
> Was there a reason for the initial change and if so, why was it done and why
> wasn't it documented? If not, can we have the original behaviour back
> please? :-)
Are you sure of this ? I use repeating variables like this all the time
(CF 4.5) to over-ride same named variables in an ATTRIBUTECOLLECTION
structure (generally fuseaction) ??
---
James Sleeman
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.