James Holmes wrote:
This means the CF Ajax JavaScript files aren't loading. Check the
/CFIDE/scripts alias for the webserver for that site.
Finally got support to check the IIS settings, and ure enough, a mapping
was missing. Ack! That one cost me some hair!
Thanks to everybody that chimed
I've got a group of CFSELECTS that were working before a site moved, but
now, not. Nothing is being returned to the CFSELECTS
cfselect name=theCATS
id=theCATS
bind=cfc:art.getCATS()
bindonload=yes
option value=0Select a Category/option
/cfselect
cfselect name=sendGROUP
On the same page:
cfinvoke
component=art
method=getCATS
returnVariable=temp
/cfinvoke
cfdump var=#temp#
This returns the resultsI'm expecting to see from the CFC, so teh CFC
*is* working ...
Still stumped
I've got a group of CFSELECTS that were working before a site moved, but
In your test, I would structure the URL as:
http://www.mysite.com/admin/email/art.cfc?method=getGROUPSreturnFormat=JSON[whatever
name value pairs you need for your method]
Otherwise, hitting the component direct, without a query string, would
try to load the component browser/javadoc layout
Even more strange:
Exact same code is working on another site on the same server.
Plus, if I try to access the cfc by browsing directly to it, I'll get
the expected page of properties.
Only difference is the way the urls are constructed. It's working for
www.mysite.com
But not working
Have you ran the code with FireBug open? Check the net or console sections and
look for any errors.
--Dave
blog.dkferguson.com
www.cfhour.com
I've got a group of CFSELECTS that were working before a site moved,
but
now, not. Nothing is being returned to the CFSELECTS
cfselect
Dave Ferguson wrote:
Have you ran the code with FireBug open? Check the net or console sections
and look for any errors.
4 errors - but I'll be honest and say that I don't know how to fix them.
It's basically saying that the CFC/AJAX stuff ain't loading - but the
mappings in the CFADMIN
Cutter (ColdFusion) wrote:
In your test, I would structure the URL as:
Even more weird - if I try to access the CFC and add the method:
http://www.mysite.com/admin/email/art.cfc?method=getCATS
I get the categories I'm expecting
0Select a Category3.0All Attorneys and Policy Advisors4.0All
http://www.mysite.com/admin/email/art.cfc?method=getGROUPSreturnFormat=JSON[whatever
name value pairs you need for your method]
art.cfc?method=getGROUPSreturnFormat=JSONtheCATS=4
Is returning the groups under the category.
[[0.0,Select a Group],[12,All Employees - Boston],[13,All
Add this to the page with the CFDIV on it. This may correct the issue.
cfajaximport tags = CFDIV /
--Dave
blog.dkferguson.com
www.cfhour.com
~|
Want to reach the ColdFusion community with something they want? Let them know
Dave Ferguson wrote:
Add this to the page with the CFDIV on it. This may correct the issue.
cfajaximport tags = CFDIV /
Added the above
This is driving me crazy! Why is it working in one place, but not
another??
I'm still getting (in Firebug).
ColdFusion is not defined
Seems like a CFIDE type of problem.
Try the net tab of FireBug, I think -- one of those tabs shows the
js files firefox is trying to load -- and then ctrl+click on the files
listed and be sure none of them are returning 404 or unexpected
non-javascript content.
--
If we don't know life, how
This means the CF Ajax JavaScript files aren't loading. Check the
/CFIDE/scripts alias for the webserver for that site.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/11/26 Les Mizzell lesm...@bellsouth.net:
Dave Ferguson wrote:
Add this to the page
13 matches
Mail list logo