Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 552
  • Last Modified:

CFAutosuggest problem

I was going through your article in http://www.devwebprofrance.com/2007/0726.html. I am facing one issue. I have a index page in the submit i am calling the results page. I have autosugget in both the pages. But when i use the autosuggest in results page. The autosuggestion drop down
 it is appearing and disappearing(Flashing). Can you suggest what can be the problem. I have only 30 points.
 
0
rajaamirapu
Asked:
rajaamirapu
  • 5
  • 5
1 Solution
 
azadisaryevCommented:
a link to an example page will be good, as well as relevant parts of your code...

Azadi
0
 
rajaamirapuAuthor Commented:

This is how i am calling the page. Below there is are a set of results getting displayed in a table
<cfinput type="text" name="emp" value="#emp#" autosuggest="cfc:controller.ajaxSearchHelper({cfautosuggestvalue})" showautosuggestloadingicon="false"/>

Open in new window

0
 
azadisaryevCommented:
need a link to a page showing the flashing behavior you describe.
i can't reproduce this behavior...
which makes me think it is something with the css styles in your page maybe...

Azadi
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
rajaamirapuAuthor Commented:
Also this work on Firefox. Only IE has this problem
0
 
rajaamirapuAuthor Commented:
Here is the generated code

 <div  id="empautosuggest" class="autosuggest">
	<div  style="float:left;">
		<input name="emp" id="pn"  type="text"  class="autosuggestinput"  />
	 </div><div  id="empcontainer" class="autosuggestcontainer" style="float:left;">
		
	 </div>

Open in new window

0
 
azadisaryevCommented:
i still can't reproduce the flashing you describe in any browser.
if you do not have a link to a live page that shows the flashing, at least post the code of that page! (NOT generated code, but your cfml+html code)

Azadi
0
 
rajaamirapuAuthor Commented:
When i debug in firebug i have seen the following messages
401 Access Denied
            5.34s      cfajax.js (line 147)
Next requst the dropdown is coming.
Any ideas on this
0
 
azadisaryevCommented:
looks like your web server setup is not complete...

see if you can access this in your browser:

http://yousite.com/CFIDE/scripts/ajax/package/cfajax.js

(replace 'yoursite.com' with your domain name)

if you can't access it via your browser, then:
- check in CF Admin that a mapping is defined for /CFIDE
- check that your website has a /CFIDE virtual directory setup pointing to correct /CFIDE folder location (usually {cf_intall_dir}\wwwroot\CFIDE)
- if your CFIDE physical folder is in some other location that the default one, then check that the user CF is running as has proper permissions to that location

if you are on a shared hosting - file a ticket with tech support to check and setup virtual directory for /CFIDE

Azadi
0
 
azadisaryevCommented:
@rajaamirapu: how did it go with this? is this still an issue? need more help?

Azadi
0
 
rajaamirapuAuthor Commented:
azadi: Your solution has thrown some light on the issue
Thanks for your help
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now