I think something is still awry with the mail... I got your response to Ben and Sean in another thread about 4 hours before I got their original messages hehehe
Eric -----Original Message----- From: Dale Fraser [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 1:14 AM To: CF-Talk Subject: RE: Ajax Simple Example. I tried that also, get the same message. I don't understand why or why the debug window won't show. I'm starting to think this might be broken in the CF8 final. PS: This list is still funny, got the reply before the question. Regards Dale Fraser http://dalefraser.blogspot.com -----Original Message----- From: AJ Mercer [mailto:[EMAIL PROTECTED] Sent: Thursday, 2 August 2007 4:05 PM To: CF-Talk Subject: Re: Ajax Simple Example. I think it is looking for test.cfc in the root directory, not the play directory On 8/2/07, Dale Fraser <[EMAIL PROTECTED]> wrote: > > I have this simple code based on some examples from Ben or Ray. > > > > Test.cfm > > <cfform> > > <cfinput type="text" name="locationname" > autosuggest="cfc:test.findLocation({cfautosuggestvalue})" /> > > </cfform> > > > > Test.cfc > > <cfcomponent output="false"> > > > > <!--- Lookup used for auto suggest ---> > > <cffunction name="findLocation" access="remote" returntype="query"> > > <cfargument name="search" type="any" required="false" > default=""> > > > > <!--- Define variables ---> > > <cfset var local = structNew() /> > > > > <!--- Query Location Table ---> > > <cfquery datasource="play" name="local.query"> > > select suburb + ' ' + state + ' ' + postCode as > location > > from Location > > where suburb like '#arguments.search#%' > > order by suburb, state, postcode > > </cfquery> > > > > <!--- And return it ---> > > <cfreturn local.query> > > </cffunction> > > > > </cfcomponent> > > > > Both files are in the same directory, I get > > > > Error invoking CFC /test.cfc : Not Found > > > > Then it tells me to enable debugging. I've done this, enabled it in > administrator, passed ?cfdebug into test.cfm and I don't get any debug > window. > > > > This example is running of an IIS virtual directory Play if that makes any > difference > > > > http://localhost/play/test.cfm?cfdebug > > > > I must be missing something obvious. > > > > Regards > > Dale Fraser > > > > http://dalefraser.blogspot.com > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285200 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

