ColdFusion provides two JavaScript objects, WddxSerializer and
WddxRecordset, that you can use in JavaScript to convert data to WDDX.
These objects are defined in the file webroot/cfide/scripts/wddx.js.
CFML Reference describes these objects and their methods in detail.
The example "Transferring data from the browser to the server" shows
how you can use these objects to serialize JavaScript to WDDX.
Converting CFML data to a JavaScript object
The following example demonstrates the transfer of a cfquery recordset
from a ColdFusion page executing on the server to a JavaScript object
that is processed by the browser.
The application consists of four principal sections:
* Running a data query
* Including the WDDX JavaScript utility classes
* Calling the conversion function
* Writing the object data in HTML
Meeting Details
When:
2009 June 24.
Where:
Deccan Chambers First Floor 6-3-666/B,
Panjaguttta,
Hyderabad Hyderabad.