Kevin,
I wouldn't call it fully functional maybe half... ;-)
It does not keep current attributes if called with CFMODULE, and therefore
also does not support precedence.
With the new 4.5.1 sp2 functions there should be a major performance boost,
and way cooler code as well while keeping the same behaviour:
if ( Not isDefined("Attributes") OR Not isStruct(Attributes)
Attributes=StructNew();
if (isDefined("Form") AND isStruct(Form)
StructAppend(Attributes, Form, False);
if (isDefined("URL") AND isStruct(URL)
StructAppend(Attributes, URL, False);
The only drawbacks are for applications that rely on other "special"
features of FORMURL2Attributes like image name form submit to fuseaction
conversion or search friendly URL (which can be added)
Cheers,
Noam
----------
From: Kevin Bridges [SMTP:[EMAIL PROTECTED]]
Sent: Monday, 11 December 2000 15:14
To: Fusebox
Subject: RE: Replacement for formurl2attributes
I'll post this again in case nobody saw it the first time this is a
fully
functional formurl2attributes:
...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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