Steve,
Is there any chance you have time to add the different versions of
formURL2attributes to fusebox.org with a quick explanation next to each
version? It might help 'cos there is lots of confusion over which one to use
it would seem.
Cheers,
Marc
-----Original Message-----
From: Fred T. Sanders [mailto:[EMAIL PROTECTED]]
Sent: 16 January 2001 18:33
To: Fusebox
Subject: Re: formURL2attributes acting weird
Yes there are, unfortunately. Although I'm to blame in my own house, as
I've got a slightly scaled down version that I use for my apps, lots of
"features" that I just didn't need, nor would I ever use.
Fred
----- Original Message -----
From: "Ken Wilson" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 12:03 PM
Subject: Re: formURL2attributes acting weird
> Odd...the formURL2attributes.cfm that I'm using with v4.51 SP2 doesn't
> appear to include the StructNew() code you referenced but appears to be
> working fine for me.
>
> Are there multiple "official" versions of the FuseBox tags floating around
> without any versioning info?
>
> Ken
>
>
> > I upgraded my development machine from CF 4.0.1 to 4.5.1 SP2 and my
> > fusebox apps started acting weird. I could access variables using the
> > attributes-dot notation but some functions (IsStruct, even IsDefined)
> > sometimes didn't work. It seemes like the attributes scope wasn't
actually
> > a structure anymore. So I switched from the old formURL2attributes.cfm
to
> > the one that uses 4.5.1 SP2's new StructCopy() funtion. And it worked
OK.
> > I looked some more and saw this at the beginning of the new
> > formURL2attributes tag:
> >
> > <cfif NOT IsDefined("caller.attributes")>
> > <cfset caller.attributes = StructNew()>
> > </cfif>
> >
> > So I put these lines into the old formURL2attributes tag and my app
> > started working OK again.
> >
> > It seems that Allaire had a 'predefined' attributes structure in 4.0.1
but
> > you have to make it yourself using StructNew() in 4.5 (4.5.1 SP2 at
> > least). Is this right? If it is then I suggest we make that small
> > modification (see above) to current formURL2attributes tag that's
> > available from fusebox.org.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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