Hi all,
I'm trying to use cfsprydataset. I just can't seem to get the data to load in
the page. Using firebug, I can see that the data is there as pubs -> data ->
columns and data filled in correctly. I tried using serializeJSON, but that
didn't help. I've stripped the files down to the important part below.
home.cfm
<cfsprydataset name="pubs" type="json" bind="CFC:pubs.getAllPubs()" >
<div spry:region="pubs">
<table
<tr spry:repeat="pubs">
<td>{FULLTITLE}</td>
</tr>
</table>
</div>
pubs.cfc
<cffunction name="getAllPubs" access="remote" returntype="Any">
<cfquery name="qry" datasource="dsn">
select *
from pubs
where pubId between 600 and 625
</cfquery>
<cfreturn qry />
</cffunction>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290109
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4