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>
Содержание COLDFUSION STUDIO 4.5-USING COLDFUSION...
Страница 1: ...Allaire Corporation Using ColdFusion Studio ColdFusion Studio 4 5 for Windows 95 98 NT4 2000...
Страница 16: ...xvi Contacting Allaire...
Страница 90: ...82...
Страница 130: ...122...
Страница 133: ...141 Two VTML tags CAT and E let you customize the content of these dialog boxes...
Страница 182: ...190...