Changes between Initial Version and Version 3 of Ticket #5970


Ignore:
Timestamp:
Feb 25, 2008, 1:36:12 PM (13 years ago)
Author:
bill
Comment:

Hi ewilde, thanks for that explanation, that's pretty good. It shouldn't matter whether you use GET or POST, but I suppose that affecting some sort of race condition. I'm considering this a bug with ComboBox?, so setting as a dijit bug.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5970

    • Property Owner changed from Jared Jurkiewicz to Douglas Hays
    • Property Milestone changed from to 1.1
    • Property Component changed from DojoX Data to Dijit
    • Property Summary changed from dojox.data.QueryReadStore - an option to make synchronized xhr calls to ComboBox: with autocomplete=true, race condition when typing too fast
  • Ticket #5970 – Description

    initial v3  
    33
    44as a result of each server request the text in the FilteringSelect is being replaced, and if the user types too fast (actually while the server request is on the go), it messes up the text in the FilteringSelect.
    5 i guess the solution is to make the xhr calls synchronized.
    6 
    7 The xhr-Request in the QueryReadStore is done with:
    8 {{{
    9 var xhrHandler = xhrFunc({url:this.url, handleAs:"json-comment-optional", content:serverQuery});
    10 }}}
    11 
    12 we need this xhr-Request object as a parameter, so we can define sync:true in it.
    13 and more flexability might be achevied by defining onther xhr-Request parameters.