Bryan Stevenson wrote:
Sorry Alan....was this intended for me and about my sample code?  If so, I do 
have a callback function and it works fine...am I missing something?

I'm probably the one causing all the confusion here. :-) Let's assume I have a CFC called myCFC and a method in that CFC called sayHello() that returns the string "Hello!" On CF 8, you can do this and it works:

<cfajaxproxy cfc="MyCFC" jsclassname="MyJSClass" />

<script type="text/javascript">
  var foo = new MyJSClass();
  alert(foo.sayHello());
</script>

That will result in a javascript alert containing "Hello!" If you run this code in OpenBD currently, you get a blank string returned unless you call setSyncMode() first.

Sorry for the confusion. Given that the vast majority of the time you WILL be using a callback method, I was probably using too simple of an example to illustrate and test things out.
--
Matthew Woodward
[email protected]
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to