Solved

CFAutosuggest problem

Posted on 2009-04-01
10
539 Views
Last Modified: 2012-05-06
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
Comment
Question by:rajaamirapu
  • 5
  • 5
10 Comments
 
LVL 27

Expert Comment

by:azadisaryev
ID: 24046582
a link to an example page will be good, as well as relevant parts of your code...

Azadi
0
 
LVL 5

Author Comment

by:rajaamirapu
ID: 24046595

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
 
LVL 27

Accepted Solution

by:
azadisaryev earned 30 total points
ID: 24046638
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 5

Author Comment

by:rajaamirapu
ID: 24046696
Also this work on Firefox. Only IE has this problem
0
 
LVL 5

Author Comment

by:rajaamirapu
ID: 24046739
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
 
LVL 27

Expert Comment

by:azadisaryev
ID: 24046954
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
 
LVL 5

Author Comment

by:rajaamirapu
ID: 24047083
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
 
LVL 27

Expert Comment

by:azadisaryev
ID: 24047819
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
 
LVL 27

Expert Comment

by:azadisaryev
ID: 24070196
@rajaamirapu: how did it go with this? is this still an issue? need more help?

Azadi
0
 
LVL 5

Author Closing Comment

by:rajaamirapu
ID: 31565657
azadi: Your solution has thrown some light on the issue
Thanks for your help
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question