I'm trying out some of the new CF8 ajax functionality (finally) and running
into problems with a simple example. This worked fine pulling in the query
directly but I want to do paging asyncronously and such so I'm hitting a CFC
remotely.
The grid loads with no records and the top entry in the ajax debugging window
says "error:http: Error invoking CFC /dataManager.cfc : Not Found"
Here is the code
------------
<cfform>
<cfgrid name="AccountGrid" format="html"
bind="cfc:dataManager.getAccounts({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})">
<cfgridcolumn name="CustNbr">
<cfgridcolumn name="OrgName">
<cfgridcolumn name="Expiration">
<cfgridcolumn name="Active">
</cfgrid>
</cfform>
------------
I thought it was a CFC problem so I ran a cfinvoke test page in the same folder
and it ran with no problem with the parameters that the ajax debugger logged as
being requested. I then thought it was a problem accessing the CFC through the
web. However one of the entries in the ajax debugger shows the URL for the JSON
request and it works fine if point my browser to it directly. This leads me to
believe it isn't a problem with or about the CFC but rather something in my
cfgrid code or in the javascript files.
I'm at a dead end. Anyone have a clue what might be going on?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300584
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4