Pinned topicAjax type-ahead executing really slow

Hi All,
I have implemented an ajax type ahead based on the best practices found in wiki/infocenter and also resources from the internet.

I have developed a sample type ahead ajax to retrieve list of user from the database(sample twx(s) can also be found on wiki). I am getting the desired result, however the execution is really slow, it takes 9-10 secs to execute. I also tried implementing combo on other input change ajax service but didn't face with any latency issue.
This happen even when I use a hardcoded list of String(s) for the result.
Has anybody faced any latency issue while implementing type ahead ajax?
Note: I am using 7.5.1.1 Adv Env, IE8.

Re: Ajax type-ahead executing really slow

Victor,
I don't know any exact PMR number on it. Is there a place (a support webpage) where we can search for PMR's?

I figured out where the alternate requests are failing, and I wrote this fragment as a temporary fix to this bug.

It basically overrides the existing method {i}callServiceImpl(){i} in {b}coach_designer.js{b} system file, re-submits every alternate request. So for the end user, the behavior will be like, AJAX is working all the time.

Victor,
I don't know any exact PMR number on it. Is there a place (a support webpage) where we can search for PMR's?

I figured out where the alternate requests are failing, and I wrote this fragment as a temporary fix to this bug.

It basically overrides the existing method {i}callServiceImpl(){i} in {b}coach_designer.js{b} system file, re-submits every alternate request. So for the end user, the behavior will be like, AJAX is working all the time.

Re: Ajax type-ahead executing really slow

‏2013-02-04T19:31:47Z

This is the accepted answer.
This is the accepted answer.

Hello All,

I have not tried this. but one thing comes to my mind that internally tw.coach.callService calls the below urlvar url = "/portal/jsp/callService.do?serviceName=" + service + "&snapshotId=" + snapshot;.
So i think we can use dojo.xhrGet to get the data using the url above. I wll try this too. :))
Thanks

Re: Ajax type-ahead executing really slow

I have not tried this. but one thing comes to my mind that internally tw.coach.callService calls the below urlvar url = "/portal/jsp/callService.do?serviceName=" + service + "&snapshotId=" + snapshot;.
So i think we can use dojo.xhrGet to get the data using the url above. I wll try this too. :))
Thanks