Re: cfc not returning results to CFSLELCT
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 in. All is well now! __ Information from ESET NOD32 Antivirus, version of virus signature database 4643 (20091127) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328739 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfc not returning results to CFSLELCT
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 id=sendGROUP bind=cfc:art.getGROUPS({theCATS}) bindattribute=HTML queryPosition=Below option value=0Select a Group/option /cfselect If I try to access the cfc directly in the browser: http://www.mysite.com/admin/email/art.cfc I get an error: File not found: /CFIDE/componentutils/cfcexplorer.cfc Checking the CFADMIN, file path is defined: C:\inetpub\wwwroot\CFIDE Checking the files, the path is correct. Ideas? Not sure what to try next... __ Information from ESET NOD32 Antivirus, version of virus signature database 4635 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328660 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 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 id=sendGROUP bind=cfc:art.getGROUPS({theCATS}) bindattribute=HTML queryPosition=Below option value=0Select a Group/option /cfselect __ Information from ESET NOD32 Antivirus, version of virus signature database 4635 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328661 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 of the component. It may be a permissions issue you are having. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com Les Mizzell wrote: 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 id=sendGROUP bind=cfc:art.getGROUPS({theCATS}) bindattribute=HTML queryPosition=Below option value=0Select a Group/option /cfselect If I try to access the cfc directly in the browser: http://www.mysite.com/admin/email/art.cfc I get an error: File not found: /CFIDE/componentutils/cfcexplorer.cfc Checking the CFADMIN, file path is defined: C:\inetpub\wwwroot\CFIDE Checking the files, the path is correct. Ideas? Not sure what to try next... __ Information from ESET NOD32 Antivirus, version of virus signature database 4635 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328662 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 http://mysite.myhost.com/ (which is a development address for a site to replace the one above) Exact same code is working on a copy of the development site in question on a *different* server. cfselect name=theCATS id=theCATS bind=cfc:art.getCATS() bindonload=yes option value=0Select a Category/option /cfselect cfselect name=sendGROUP id=sendGROUP bind=cfc:art.getGROUPS({theCATS}) bindattribute=HTML queryPosition=Below option value=0Select a Group/option /cfselect __ Information from ESET NOD32 Antivirus, version of virus signature database 4635 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328663 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 name=theCATS id=theCATS bind=cfc:art.getCATS() bindonload=yes option value=0Select a Category/option /cfselect cfselect name=sendGROUP id=sendGROUP bind=cfc:art.getGROUPS({theCATS}) bindattribute=HTML queryPosition=Below option value=0Select a Group/option /cfselect If I try to access the cfc directly in the browser: http://www.mysite.com/admin/email/art.cfc I get an error: File not found: /CFIDE/componentutils/cfcexplorer.cfc Checking the CFADMIN, file path is defined: C:\inetpub\wwwroot\CFIDE Checking the files, the path is correct. Ideas? Not sure what to try next... __ Information from ESET NOD32 Antivirus, version of virus signature database 4635 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328665 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 are correct - and once again, the same code is working on another site on the same server. ColdFusion is not defined textEMAIL_send.cfm?rmid=124()textEMAI...?rmid=124 (line 1302) };ColdFusion.Event.registerOnLoad(_cf_bind_init_1259166700158);\n ColdFusion is not defined };ColdFusion.Event.registerOnLoad(_cf_bind_init_1259166700159);\n ColdFusion is not defined ColdFusion.Ajax.importTag('CFDIV');\n ColdFusion is not defined };ColdFusion.Event.registerOnLoad(_cf_bind_init_1259166700161);\n __ Information from ESET NOD32 Antivirus, version of virus signature database 4636 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328674 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 employees7.0Boston6.0EducationCounsel8.0Event/Seminar5.0Gold Dome12.0Government Relations Lists2.0Media1.0MISC11.0Poole9.0Test Groups __ Information from ESET NOD32 Antivirus, version of virus signature database 4636 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328675 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 Employees - Charleston],[14,All Employees - Charlotte],[15,All Employees - Columbia],[16,All Employees - Greenville],[17,All Employees - Myrtle Beach],[18,All Employees - Raleigh],[19,All Employees - Washington, DC],[20,All Employees - Winston-Salem],[34,Marketing Staff]] OK, so the CFC is plainly working, correct? So why aren't the selects being populated? There's something else wrong here, but I can't grok what it is... __ Information from ESET NOD32 Antivirus, version of virus signature database 4636 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328678 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfc not returning results to CFSLELCT
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 on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328684 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 ColdFusion.Ajax.importTag('CFDIV');\ntextEMAI...?rmid=203 (line 269) ColdFusion is not defined };ColdFusion.Event.registerOnLoad(_cf_bind_init_1259181589335);\ntextEMAI...?rmid=203 (line 276) ColdFusion is not defined };ColdFusion.Event.registerOnLoad(_cf_bind_init_1259181589336);\ntextEMAI...?rmid=203 (line 283) ColdFusion is not defined };ColdFusion.Event.registerOnLoad(_cf_bind_init_1259181589338);\n __ Information from ESET NOD32 Antivirus, version of virus signature database 4636 (20091125) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328698 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 can we know death? Confucius On Wed, Nov 25, 2009 at 1:41 PM, Les Mizzell wrote: 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? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328711 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc not returning results to CFSLELCT
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 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 define ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4