User Guide
1091
CHAPTER 9
WDDX JavaScript Objects
This chapter provides information about JavaScript objects and functions used to WDDX in a
Macromedia ColdFusion MX 7 application.
Contents
JavaScript object overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1091
WddxSerializer object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1092
WddxRecordset object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1095
JavaScript object overview
These are the JavaScript objects and functions:
WDDX JavaScript objects are defined in the wddx.js file; this file is installed in the CFIDE/
scripts directory.
To use these objects, you must put a JavaScript tag before the code that refers to the objects; for
example:
<script type="text/javascript" src="/CFIDE/scripts/wddx.js"></script>
Class Functions
WddxSerializer object serialize
serializeVariable
serializeValue
write
WddxRecordset object addColumn
addRows
getField
getRowCount
setField
wddxSerialize