<CFWDDX ACTION="action"
INPUT="inputdata"
OUTPUT="resultvariablename"
TOPLEVELVARIABLE="toplevelvariablenameforjavascript">
ACTION
Specifies the action taken by the CFWDDX tag. Use one of the following:
- CFML2WDDX -- Serialize CFML to WDDX format
- WDDX2CFML -- Deserialize WDDX to CFML
- CFML2JS -- Serialize CFML to JavaScript format
- WDDX2JS -- Deserialize WDDX to JavaScript
INPUT
Required. The value to be processed.
OUTPUT
The name of the variable to hold the output of the operation. This attribute is required for ACTION=WDDX2CFML. For all other actions, if this attribute is not provided, the result of the WDDX processing is outputted in the HTML stream.
TOPLEVELVARIABLE
Required when ACTION=WDDX2JS or ACTION=CFML2JS. The name of the top-level JavaScript object created by the deserialization process. The object created by this process is an instance of the WddxRecordset object, explained in WddxRecordset Object .
This is optional when ACTION=CFML2WDDX or ACTION=WDDX2CFML.
|