Re: CF and Spry

2008-01-05 Thread Issac Rosa
Thanks for the reply Dan, but if you notice in my call to the CFC when I create the DS, I am using returnFormat="json" and I'm getting the data displayed in Region 1. var mydata = new Spry.Data.JSONDataSet("../product.cfc?method=getProducts&returnFormat=json&queryFormat=column", {path:"DATA"

Re: CF and Spry

2008-01-05 Thread Dan Vega
Isaac. First off if you already don't know about it I would check out firebug as it lets you monitor requests. I think your only problem here is that your looking for json and your cfc is returning wddx. If you do not set a return format then it will return wddx. Simply add this to your component.

Re: CF and Spry

2008-01-05 Thread Dan Vega
Isaac. First off if you already don't know about it I would check out firebug as it lets you monitor requests. I think your only problem here is that your looking for json and your cfc is returning wddx. If you do not set a return format then it will return wddx. Simply add this to your component.

Re: CF and Spry

2008-01-05 Thread AJ Mercer
it may have something to do with casing - javascript is case sensitive On Jan 5, 2008 4:17 PM, Issac Rosa <[EMAIL PROTECTED]> wrote: > Can someone see why the detailregion is not updating when using > Spry.Data.JSONDataSet? If I use Spry.Data.XMLDataSet, the detailregion > updates fine when I cl

CF and Spry

2008-01-04 Thread Issac Rosa
Can someone see why the detailregion is not updating when using Spry.Data.JSONDataSet? If I use Spry.Data.XMLDataSet, the detailregion updates fine when I click a row. I am getting the resultset fine. Here is my code. index.html: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http