ok I'm trying to have peace talks with wddx.
Here is the code the wddx packet and the way the page looks. So now what? Is there
something majic to creating a usable webpage from here OR does it become an exercize
in string manipulation?? OR should I go CFML2js and deal with javascript?? Any advise
would be appreciated.
CODE:
<cfquery name="qryTest2" datasource="northwind">
select top 1 CustomerID, ContactTitle, ContactName
from customers
</cfquery>
<cfwddx action="CFML2WDDX" input="#qrytest2#" output="qoutput">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<cfoutput>#qoutput#</cfoutput>
</body>
</html>
WDDX PACKET
<wddxPacket version='0.9'><header></header><data><recordset rowCount='1'
fieldNames='CUSTOMERID,CONTACTTITLE,CONTACTNAME'><field
name='CUSTOMERID'><string>ALFKI</string></field><field
name='CONTACTTITLE'><string>Sales Representative</string></field><field
name='CONTACTNAME'><string>Maria
Something</string></field></recordset></data></wddxPacket>
PAGE:
ALFKISales RepresentativeMaria Something
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists