I am playing around with the new cfsprydataset tag and I have hit a wall. I
am a bit of a spry newb as well so that could be my problem. The following
code works great and via firebug i can see the returned data (see below) but
nothing gets generated. What am i doing wrong?
<cfmodule template="layout.cfm" title="Contacts / List All Contacts"
subnav="contact">
<script>
Spry.Data.Region.debug = true;
</script>
<cfsprydataset name="dsContacts" bind="cfc:
com.myproject.contacts.getContacts()" type="json"/>
<div id="mydata" spry:region="dsContacts">
<table>
<tr spry:repeat="dsContacts">
<td>{fname}</td>
<td>{lname}</td>
</tr>
</table>
</div>
</cfmodule>
RETURNED JSON
{"COLUMNS":["FNAME","LNAME"],"DATA":[["Karen *****","Pfeiffer,
ASID"],["Jeff","S****"],["Brenda"
,"****n"],["James","*****r,
ASID"],["Bill","*****s"],["Harry","*****"],[".","."],[".","."],["Bob"
,"."],[".","."],[".","."],[".","."],["Rick","Ho***s"],[".","."],["****y","."],[".","."],[".","."],["
..","."],[".","."],["Al","***"]]}
--
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293063
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4