> The statement
>
> <cfset attributes.temp=structNew()>
>
> will fail as described below if placed in a standard
> template, but works fine in a custom tag. This led to
> my response to Brad. Not being a Fuseboxer, I should
> have experimented further.
>
> As Jason points out the following works fine in a
> standard template:
>
> <cfset attributes.temp=3>
>
> Why the difference with assigning simple values to
> attributes scope as opposed to structures?
This is a known and documented bug. Unfortunately, I don't recall where it's
documented. I learned about it from Craig Fisher, an Allaire instructor, who
may have originally reported the bug.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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