Solved

CFAutosuggest problem

Posted on 2009-04-01
10
540 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

Suggested Solutions

Title # Comments Views Activity
recordcount is coming as undefined in query 4 65
Airline check in kiosk 4 112
coldfusion, jQuery help 25 101
Remove execute permissions from upload directories 4 15
This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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