Re: spry and cf
I don't have the code right now. I do know it was hitting a CFC that returned a query object. Can you perhaps post your code for now, and later on I'll compare to mine? On Wed, May 14, 2008 at 2:21 AM, Bhakti Pingale <[EMAIL PROTECTED]> wrote: > Hi, > I have a similar combination which works fine for me. > What are you doing in the cfc exactly? > If you can give me the entire repro case it will be easier to fix the issue. > > > Thanks, > Bhakti > > > > From: Raymond Camden [mailto:[EMAIL PROTECTED] > Sent: Wed 5/14/2008 12:14 AM > To: CF-Talk > Subject: Re: spry and cf > > > > I had the same result. I was working w/ Todd back at cfobjective and > for the life of me, I couldn't get it to work. When I switched to > _not_ using cfsprydataset, it worked like a charm. I'm thinking it's a > bug. > > > On Tue, May 13, 2008 at 12:57 PM, Leon Chalnick > <[EMAIL PROTECTED]> wrote: >> Find any solutions Chad? >> >> I too have not had luck using cfsprydataset with JSON data. I'm binding to >> the CFC via the URL rather than directly to the CFC. >> >> >> >> >> > What is up with this? >> > >> > >> > If I use to get the json data, the data starts off >> > with ] >> > {"COLUMNS":["DEPT", etc. >> > > -- > === > Raymond Camden, VP of Software Dev, Broadchoice > > Email : [EMAIL PROTECTED] > Blog : www.coldfusionjedi.com > AOL IM : cfjedimaster > > Keep up to date with the community: http://www.coldfusionbloggers.org > <http://www.coldfusionbloggers.org/> > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305227 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: spry and cf
Hi, I have a similar combination which works fine for me. What are you doing in the cfc exactly? If you can give me the entire repro case it will be easier to fix the issue. Thanks, Bhakti From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wed 5/14/2008 12:14 AM To: CF-Talk Subject: Re: spry and cf I had the same result. I was working w/ Todd back at cfobjective and for the life of me, I couldn't get it to work. When I switched to _not_ using cfsprydataset, it worked like a charm. I'm thinking it's a bug. On Tue, May 13, 2008 at 12:57 PM, Leon Chalnick <[EMAIL PROTECTED]> wrote: > Find any solutions Chad? > > I too have not had luck using cfsprydataset with JSON data. I'm binding to > the CFC via the URL rather than directly to the CFC. > > > > > > What is up with this? > > > > > > If I use to get the json data, the data starts off > > with ] > > {"COLUMNS":["DEPT", etc. > > -- === Raymond Camden, VP of Software Dev, Broadchoice Email : [EMAIL PROTECTED] Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org <http://www.coldfusionbloggers.org/> ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305220 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: spry and cf
I had the same result. I was working w/ Todd back at cfobjective and for the life of me, I couldn't get it to work. When I switched to _not_ using cfsprydataset, it worked like a charm. I'm thinking it's a bug. On Tue, May 13, 2008 at 12:57 PM, Leon Chalnick <[EMAIL PROTECTED]> wrote: > Find any solutions Chad? > > I too have not had luck using cfsprydataset with JSON data. I'm binding to > the CFC via the URL rather than directly to the CFC. > > > > > > What is up with this? > > > > > > If I use to get the json data, the data starts off > > with ] > > {"COLUMNS":["DEPT", etc. > > -- === Raymond Camden, VP of Software Dev, Broadchoice Email : [EMAIL PROTECTED] Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305202 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: spry and cf
Find any solutions Chad? I too have not had luck using cfsprydataset with JSON data. I'm binding to the CFC via the URL rather than directly to the CFC. > What is up with this? > > > If I use to get the json data, the data starts off > with ] > {"COLUMNS":["DEPT", etc. > > If I use javascript to get the data ie. var mydata = new Spry.Data. > JSONDataSet > The page works and the json data starts with "ROWCOUNT". > {"ROWCOUNT":3,"COLUMNS":["DEPT", etc. > > Why no ROWCOUNT when using cfsprydataset? > > > > > > > > -Original Message- > From: Chad Gray [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 09, 2008 2:56 PM > To: CF-Talk > Subject: spry and cf > > I am about to pull my hair out. What am I doing wrong? The page > returns with no errors and the table is empty of data. All I have on > the page is the table headers and no table rows after it. > > Firebug says I am returning data: > > {"COLUMNS":["JOBNUM","EMPLOYEENUM"],"DATA":[[1049,3010],[1049,3160], > [1049,3170],[1049,3170],[1049,3170 > ],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049, > 3170],[1049,3170],[1049,3170],[1049 , > 3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170], > [1049,3170],[1049,3170]]} > > > > > > > > > > > Job Num > Employee Num > > > {mydata2::JOBNUM} > {mydata2::EMPLOYEENUM} > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305196 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: spry and cf
When it comes to queries and JSON, CF supports two forms. See the SerializeJSON function for more info. When you just use Spry (I mean on the client, no CF8 Ajax stuff), you can specify the type hen you create the data set. For an example, see Lighthouse Pro (lighthousepro.riaforge.org). On Wed, Apr 9, 2008 at 2:50 PM, Chad Gray <[EMAIL PROTECTED]> wrote: > What is up with this? > > > If I use to get the json data, the data starts off with ] > {"COLUMNS":["DEPT", etc. > > If I use javascript to get the data ie. var mydata = new > Spry.Data.JSONDataSet > The page works and the json data starts with "ROWCOUNT". > {"ROWCOUNT":3,"COLUMNS":["DEPT", etc. > > Why no ROWCOUNT when using cfsprydataset? > > > > > > > > > > > -Original Message- > From: Chad Gray [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 09, 2008 2:56 PM > To: CF-Talk > Subject: spry and cf > > I am about to pull my hair out. What am I doing wrong? The page returns > with no errors and the table is empty of data. All I have on the page is the > table headers and no table rows after it. > > Firebug says I am returning data: > > > {"COLUMNS":["JOBNUM","EMPLOYEENUM"],"DATA":[[1049,3010],[1049,3160],[1049,3170],[1049,3170],[1049,3170 > > ],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049 > > ,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170]]} > > > > > > > > > > > Job Num > Employee Num > > > {mydata2::JOBNUM} > {mydata2::EMPLOYEENUM} > > > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303077 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: spry and cf
What is up with this? If I use to get the json data, the data starts off with ] {"COLUMNS":["DEPT", etc. If I use javascript to get the data ie. var mydata = new Spry.Data.JSONDataSet The page works and the json data starts with "ROWCOUNT". {"ROWCOUNT":3,"COLUMNS":["DEPT", etc. Why no ROWCOUNT when using cfsprydataset? -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 2:56 PM To: CF-Talk Subject: spry and cf I am about to pull my hair out. What am I doing wrong? The page returns with no errors and the table is empty of data. All I have on the page is the table headers and no table rows after it. Firebug says I am returning data: {"COLUMNS":["JOBNUM","EMPLOYEENUM"],"DATA":[[1049,3010],[1049,3160],[1049,3170],[1049,3170],[1049,3170 ],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049 ,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170],[1049,3170]]} Job Num Employee Num {mydata2::JOBNUM} {mydata2::EMPLOYEENUM} ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303068 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4