You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org> on 2006/06/09 16:18:29 UTC

[jira] Created: (TOMAHAWK-482) inputSuggestAjax inefficient with Ajax calls

inputSuggestAjax inefficient with Ajax calls
--------------------------------------------

         Key: TOMAHAWK-482
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-482
     Project: MyFaces Tomahawk
        Type: Improvement

  Components: InputSuggestAjax  
    Versions: 1.1.4-SNAPSHOT    
    Reporter: Peter Mahoney


The inputSuggestAjax component currently sends an ajax request for every key press. This results in a lot on needless traffic which causes the user experience to be adversely affected.

Possible improvements would be:

Calls should only be made where the keypress has resulted in the field value changing.

If a call results in no suggestions being returned, no further calls should be made until the field value up to the position of the cursor has been changed in some way e.g. a character deleted, or additional characters added.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira