[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-20 Thread Szymon Wilkołazki
Matt Foster wrote: [...] To address the wrong order issue, you could create a queue of requests such that each request is asynchronous but stacked such that it will not be sent until the previous request has returned. I've written something for this for prototype 1.5 as Ajax.RequestQueue

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-20 Thread Jonny Nott
as a bonus, in the case of my problem, I don't even need to tag requests with a uniqid or serial, as I know that I'm only interested in responses to requests where the search string was the same as the current form field value. On Mar 20, 9:26 am, Szymon Wilkołazki wilkola...@gmail.com wrote:

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-19 Thread Jonny Nott
I've now found a solution to this problem, as follows: var inputControlCapturedValue = inputControl.getValue(); new Ajax.Request(xhrRequestUrl, { method: 'get', parameters: { table:

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-19 Thread Matt Foster
I've got to add my two cents as well, For addressing the issue of attaching parameters to the Ajax.Request object, they're actually available in the callbacks. Each callback gets sent an Ajax.Response instance which contains the request property which in turn has the parameters property,

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-11 Thread Jonny Nott
Thanks for that link Alex. However, as I've tried to proceed with this, I keep coming back to needing answers to my two original questions. Can anyone assist? The questions: - Which callback will allow me to intercept Ajax.updater at this point? Will this even work with Ajax.updater, or do I

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-11 Thread Alex Mcauley
Can you report the question again as it seems to be missing Thanks Alex - Original Message - From: Jonny Nott jonn...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, March 11, 2009 7:57 PM Subject: [Proto-Scripty] Re: Ajax.Updater home

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-11 Thread Richard Quadling
The response does not have access to the request. I created the ticket for this a long time ago, but I can't establish if there is any memleak when the response includes the request. http://dev.rubyonrails.org/ticket/9691 Over a year old ticket. 2009/3/11 Jonny Nott jonn...@gmail.com:

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-11 Thread Richard Quadling
2009/3/11 Richard Quadling rquadl...@googlemail.com: The response does not have access to the request. I created the ticket for this a long time ago, but I can't establish if there is any memleak when the response includes the request. http://dev.rubyonrails.org/ticket/9691 Over a year old

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-02 Thread Alex Mcauley
webmas...@thecarmarketplace.com To: prototype-scriptaculous@googlegroups.com Sent: Sunday, March 01, 2009 7:21 PM Subject: [Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue there is a completely easier way to do what you want and save memory on the client side