[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Coldfusion 8 Bind fails

Posted on 2009-07-12
1
Medium Priority
?
399 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
[X]
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
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

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…
What You Need to Know when Searching for a Webhost Provider
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

649 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