What you could do is convert the formfields to a struct (or a query set, if
that suits you) by assigning key values or column values whilst looping over
the form.fieldnames list. Then WDDX-ify the resulting dataset and you're
good to go. :)
I wrote an inhouse custom tag that does the dirty work of converting it to a
struct, and I could email it to you if you'd like.
--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC 28270
www.solutionmasters.com
704.849.7771 x 228 Voice
704.849.9291 Fax
-----Original Message-----
From: paul smith <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Date: Friday, December 29, 2000 5:15 PM
Subject: RE: Forfields & WDDX
>Thanks! I was thinking it would be easier in 4.5 than 4.0.1
>I'll have to settle for the 4.0.1 version for now.
>
>best, paul
>
>At 04:53 PM 12/29/00 -0500, you wrote:
>>In 4.5, you get a structure called "form" that you can do this with:
>>
>><cfwddx action="CFML2WDDX" input="#form#" output="aWDDXpacket">
>>
>>Then you can save that string, aWDDXpacket, as a client variable.
>>
>>Hal Helms
>>== See www.ColdFusionTraining.com for info on "Best Practices with
>>ColdFusion & Fusebox" training, Jan 22-25 ==
>>
>>
>>-----Original Message-----
>>From: paul smith [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, December 29, 2000 4:38 PM
>>To: CF-Talk
>>Subject: Forfields & WDDX
>>
>>
>>What's a slick way to put all FormFields (name & value) into WDDX for
>>placement into a client variable?
>>
>>best, paul
>>
>
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free
Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support
Visit SoloServer, https://secure.irides.com/clientsetup.cfm.
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists