Solved

CFAutosuggest problem

Posted on 2009-04-01
10
542 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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