Coldfusion 8 and AJAX

2007-08-27 Thread Ben S
Hi, I'm experimenting with the AJAX stuff that was added with CF 8 and i'm running in the following issue - i wonder if anyone played around with it and could help me. I have a cfform: cfform Client name: cfinput type=text name=clientName

Re: Coldfusion 8 and AJAX

2007-08-27 Thread Raymond Camden
So if I read you right - what you want is NOT the autosuggest feature itself - or actually - you want to do something AFTER the user has picked a value. Ie, I type in Ra, your autocomplete returns a set of possibilities, one of which is Ray, I select Ray, you then load your other form fields with

RE: Coldfusion 8 and AJAX

2007-08-27 Thread Andy Matthews
-Talk Subject: Coldfusion 8 and AJAX Hi, I'm experimenting with the AJAX stuff that was added with CF 8 and i'm running in the following issue - i wonder if anyone played around with it and could help me. I have a cfform: cfform Client name: cfinput type=text name=clientName autosuggest

Re: Coldfusion 8 and AJAX

2007-08-27 Thread benjamin schwartz
Ray you are right and you described exactly what i wanted to do - even the idea of building a drop down if there are several johns. I'm going to look into cfajaxproxy. I want to try what Andy suggest too though - returning a structure. Any other ideas? Thanks already for your help. Ben On

Re: Coldfusion 8 and AJAX

2007-08-27 Thread benjamin schwartz
Actually i don't think that returning a struct would work 'cause the widget itself (aka the cfinput box) doesn't know what to do with that result set. I'll play around with cfajaxproxy - although i'm not sure that it will fix my problem On 8/27/07, benjamin schwartz [EMAIL PROTECTED] wrote: Ray

Re: Coldfusion 8 and AJAX

2007-08-27 Thread Raymond Camden
I could be wrong - but I think Andy is wrong. I believe you can only return the simple values - not the structure. Yeah - so ajaxproxy is pretty cool. It has two very distinct, very different features. On one hand it can make a simple connection between your JS and your CFC code. On the other