You don’t need <cfajaxproxy> for using <cfinput>.  <cfajaxproxy> is for when 
you have JavaScript you have written (as opposed to JavaScript ColdFusion has 
written) that you want to use to make a call out to a CFC; it allows you to 
“hook up” the JavaScript to the CFC.

I don’t know why you would be having this conflict.  What I believe Teddy was 
asking was how that conflicting JavaScript method got in the page.  My 
understanding is that he was saying that he did a simple test using <cfinput> 
and the conflicting function was not included so he was asking why it is 
included in your page.  How is it getting there—are you putting the reference 
to it there or is ColdFusion doing that?  If you are putting it there, do you 
need it referenced in this page or is taking it out an acceptable workaround?

Josh

From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Clarke Bishop
Sent: Tuesday, March 31, 2009 1:54 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] <cfinput autosuggest>

Here is the relevant code snippet:

<cfinput type="text" name="eMail" 
autosuggest="cfc:myCFC.lookupEmail({cfautosuggestvalue})" />

I’m not using <cfajaxproxy>. Do I need to? I don’t fully understand what 
exactly it does, and the docs didn’t help too much.

The CFC is using an XMLRPC web service to retrieve the data, and it returns the 
data as a string list. I also had the CFC returning an array. Both worked the 
same.

Thanks for any more ideas …

    Clarke

From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Teddy R. Payne
Sent: Tuesday, March 31, 2009 11:37 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] <cfinput autosuggest>

Clarke,
I did a simple autosuggest using a inline cfquery and then using the 
autosuggest portion of cfinput tag to a value list of one query column.

That function was not generated.  Are you pulling in the information for the 
autosuggest in a webservice?  Perhaps using the cfajaxproxy?


Teddy R. Payne, ACCFD
Google Talk - teddyrpa...@gmail.com<mailto:teddyrpa...@gmail.com>

On Tue, Mar 31, 2009 at 11:24 AM, Teddy R. Payne 
<teddyrpa...@gmail.com<mailto:teddyrpa...@gmail.com>> wrote:
Yes, AC_ functions are adobe generated.  Similar in Flex, AC_FL_ functions are 
used for loading the flash player to display the compiled SWF(s).  In Flex 
though, an AC_OETags.js file is created in the output folder to provide a 
reference to these functions.

I would have to generate an autosuggest cfinput tag to introspect where the 
generated libraries are stored.  I know cfinput validation javascript code is 
put inline into the html portion of the document for the most part.



Teddy R. Payne, ACCFD
Google Talk - teddyrpa...@gmail.com<mailto:teddyrpa...@gmail.com>

On Tue, Mar 31, 2009 at 11:16 AM, Clarke Bishop 
<cbis...@resultantsys.com<mailto:cbis...@resultantsys.com>> wrote:

No other AJAX stuff.  The problem seems to be with a script that runs Flash: 
AC_RunActiveContent.js. It’s an Adobe script, I think.  When I delete this 
script, things start working right with the <cfinput>.



    Clarke



From: ad...@acfug.org<mailto:ad...@acfug.org> 
[mailto:ad...@acfug.org<mailto:ad...@acfug.org>] On Behalf Of Teddy R. Payne
Sent: Tuesday, March 31, 2009 11:11 AM
To: discussion@acfug.org<mailto:discussion@acfug.org>
Subject: Re: [ACFUG Discuss] <cfinput autosuggest>



Are you using other AJAX libraries on the same page outside of the ones that CF 
uses?  Or perhaps you are using some features with jQuery as well?

Teddy R. Payne, ACCFD
Google Talk - teddyrpa...@gmail.com<mailto:teddyrpa...@gmail.com>

-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink<http://www.fusionlink.com>
-------------------------------------------------------------



-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink<http://www.fusionlink.com>
-------------------------------------------------------------
N�����r��y����b�X��f�j���鮇���m����q����

Reply via email to