MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual page 76

For windows 95/98/nt4/2000
Table of Contents

Advertisement

76
Last name: <input type=text name=lastName><br>
<p>
<!--- Navigation & submission bar --->
<input type="button" value="Next" onclick="doNext()">
<input type="button" value="Serialize"
onclick="serializeData(personInfo,
document.personForm.wddxPacket)">
<input type="submit" value="Submit">
<p>
<!--- This is where the WDDX packet will be stored --->
WDDX packet display:<p>
<textarea name="wddxPacket" rows="10" cols="80"
wrap="Virtual"><
/textarea>
</form>
<!--- Server-side processing --->
<hr>
<p><b>Server-side processing</b><p>
<CFIF isdefined("form.wddxPacket")>
<CFIF form.wddxPacket neq "">
<!--- Deserialize the WDDX data --->
<CFWDDX action="wddx2cfml" input=#form.wddxPacket#
output="personInfo">
<!--- Display the query --->
The submitted personal information is:<p>
<CFOUTPUT query=personInfo>
Person #CurrentRow#: #firstName# #lastName#<br>
</CFOUTPUT>
<CFELSE>
The client did not send a well-formed WDDX data packet!
</CFIF>
<CFELSE>
No WDDX data to process at this time.
</CFIF>

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents