Cool, thanks Dave.
I found out that it works inside a custom tag. I did a few tests, mentioned
in my previous post, which hasn't shown up yet. The tests yielded some odd
results.
Has anyone tried it in CF5?
Thanks again for the confirmation,
Brad
> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 24, 2001 6:00 PM
> To: CF-Talk
> Subject: RE: Attributes Scoped Structure?
>
>
> > 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