That didnt do it, good try though, thanks!

Dan

On Nov 9, 2007 8:02 PM, Steve Milburn <[EMAIL PROTECTED]> wrote:

> It looks like the field names being returned are in all-caps, and the your
> bindings are not. Try to capitalize your bindings in your spry output, ie
> {FNAME} and {LNAME}.
> Steve
> -----Original Message-----
> From: "Dan Vega" <[EMAIL PROTECTED]>
> Sent 11/9/2007 6:45:30 PM
> To: "CF-Talk" <cf-talk@houseoffusion.com>
> Subject: cfsprydataset & JSON questionI 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]://www.danvega.org
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293065
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to