Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Coldfusion 8 Bind fails

Posted on 2009-07-12
1
394 Views
Last Modified: 2013-12-24
This problem should have a simple answer, but I don't see it. I get the following error after I enter data in the 1st cfinput box. Why?

/cart.cfc?meth...clientid=5DBC8EFBC94F5B7538A1F69300B4CCC6&_cf_rc=0
http://127.0.0.1:8500/Chartingnature/cart.cfc?method=getImgid&returnFormat=json&argumentCollection=%7B%22area%22%3A%22fish%22%7D&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=5DBC8EFBC94F5B7538A1F69300B4CCC6&_cf_rc=0


[Exception... "'SyntaxError: parseJSON' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/spy.js :: onHTTPSpyReadyStateChange :: line 497" data: no]
[Break on this error] return new ActiveXObject(_16[i]);
cfajax.js (line 103)

CFFORM name="b">
 
 Enter Area: <cfinput type="text" name="imgarea" id="iarea"> <br />
<cfinput type="text" name="number" label="email" bind="cfc:cart.getImgid({imgarea})">
 
</cfform>
------------------------------------
 <cfcomponent displayName="Miscellaneous">
<cffunction name="getImgid" access="remote">
<cfargument name="area" type="string" required="yes">	
<cfset rarea=area>
<cfreturn rarea>
</cffunction>
 
 </cfcomponent>

Open in new window

0
Comment
Question by:chartingnature
1 Comment
 

Accepted Solution

by:
chartingnature earned 0 total points
ID: 24842398
Dreamweaver CS3  is the problem.  Tried editing the code in notepad and I finally got it work.  Dreamweaver has a nasty habit of adding code that can cause error where there are none.   A great product, but can cause you a great deal of problems with coldfusion. A lot of people have had similar problems with dreamweaver. I don't understand why Adobe lets the problem continue.

Robert
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question