Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-482

inputSuggestAjax inefficient with Ajax calls

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.4-SNAPSHOT
    • None
    • InputSuggestAjax
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmahoney Peter Mahoney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: