• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFSELECT bind to cfc

Guest
Aug 10, 2007 Aug 10, 2007

Copy link to clipboard

Copied

I copied the cfm and cfc code directly from livedocs for CFSELECT. When I run it, nothing happens.
When I view the javaScript console I see the error _31c has no properties in file CFIDE/scripts/ajax/package/cfajax.ja line:1264
Which is : if(typeof (_31c.length)=="number"&&!_31c.toUpperCase){

The ajax debug console has this:
info:http: CFC invocation response:
info:http: HTTP GET /com/form.cfc?method=getMarkets&returnFormat=json&argumentCollection=%7B%22pPropertyType%22%3A%22ind%22%7D&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=040CA886EBC6022C6B3CF49B57FAC070&_cf_rc=0
info:http: Invoking CFC: /com/form.cfc , function: getMarkets , arguments: {"pPropertyType":"ind"}
info:LogReader: LogReader initialized
info:global: Logger initialized

BTW: I copied the /CFIDE/scripts directory to the webroot where I am working, I have checked that all of the included js files are present.
Any ideas?

Views

2.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Aug 10, 2007 Aug 10, 2007
SOLUTION!!!!

I commented out the onRequest function in Application.cfc.

Votes

Translate

Translate
Guest
Aug 10, 2007 Aug 10, 2007

Copy link to clipboard

Copied

I have determined this is related to something Fusebox 5 is doing.

Still no solution

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 10, 2007 Aug 10, 2007

Copy link to clipboard

Copied

SOLUTION!!!!

I commented out the onRequest function in Application.cfc.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 20, 2011 Sep 20, 2011

Copy link to clipboard

Copied

LATEST

i wouldn't call that a solution though, if you have a header within your onRequest, now you have to manually add it to all your pages!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation