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