Ok, you'll want to include your wddxDes.js file(from the wddx sdk, if you
don't have it), and your wddx.js file, and you'll want to instantiate the
WddxDeserializer object, and use that instance to deserialize your wddx
packet.
MyDeser = new WddxDeserializer();
myJSObj = MyDeser.deserialize(MyWDDXPacket);
I think that should do it for you.
HTH,
Jason Powers
Fig Leaf Software
202-797-5440
-----Original Message-----
From: Robert Weimer [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 9:03 PM
To: CF-Talk
Subject: RE: CF to WDDX to JS
Let me be a little more specific, the I need the WDDX packet deserialized
without using any server side application servers such as ASP, CF, PHP,
PERL, etc. So, I need to use JS to deserialize.
Thanks,
Robert
At 06:34 PM 1/15/01 -0500, you wrote:
>You should be able to do this very simply using the CFWDDX action
"CFML2JS".
>It'll automatically create the JS object for you. You don't need to pass
>the wddx text to the browser, you can actually pass the JS object. If
>that's not what you need, can you give a little more detail about your
>needs?
>
> Jason Powers
> Fig Leaf Software
> 202-797-5440
>
>
>-----Original Message-----
>From: Robert Weimer [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 15, 2001 1:37 PM
>To: CF-Talk
>Subject: CF to WDDX to JS
>
>
>I have an application that serializes a CFQuery to WDDX and is then
>supposed to pass the WDDX packet to the web browser to be deserialized and
>output as JavaScript. I am NOT a JS developer, but I play one on the
>Internet ;)
>
>I've looked throughout the WDDX site and SDK, but find little support or
>explanation on the WddxDeserializer JS Object. Can anyone help? How does
>this object work? I thought I should deserialize the query and load it
>into a JS array, but I simply can't figure out how to accomplish it.
>
>Any help would be greatly appreciated.
>
>Thanks,
>
>Robert
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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