search for: getupdatedchoices

Displaying 7 results from an estimated 7 matches for "getupdatedchoices".

2005 Aug 05
2
Quick Question on Autocompleter Parameters
Hello, Is it possible to send the current value of a second form element with the AJAX request on the Autocompleter? At the moment, I initialise the Autocompleter on page load, so any parameters passed in the constructor are given the value set at page load time. I need to obviously pass in the value of the second form element when the autocompleter is called. Does this function already exist,
2006 Jun 19
2
Autocompleter enhancement feature request
...ot;focus", this.onKeyPress.bindAsEventListener(this)); The last line is what I have added. And then I have commented some code: onObserverEvent: function() { this.changed = false; // if(this.getToken().length>=this.options.minChars) { this.startIndicator(); this.getUpdatedChoices(); // } else { // this.active = false; // this.hide(); // } }, These changes are not in the best tradition of programming, but I am a javascript newbie and as a preliminary step I just wanted to get things working. The problem with these changes is that in an empty field it...
2007 Jan 17
0
Triggering Autocompleter by button
Hi! I got a Autocompleter on my page and its working fine. For mouse-users I need a button which triggers the Autocomplete. I tried a this.getUpdatedChoices(); and it starts a request, but it doesn''t seem to handle the response. ---------------------------------------------- Ajax.TriggerableAutocompleter = Class.create(); Object.extend(Object.extend(Ajax.TriggerableAutocompleter.prototype, Ajax.Autocompleter.prototype), { initialize: fu...
2007 Mar 13
0
Ajax.Autocompleter with paging
hi, i''d like to create an Ajax.Autocompleter with paging... my basic idea is to use the afterUpdateElement to check if the selected item has a attribute telling it to make a new ajax call... my problem is, that i have no clue how to trigger the getUpdatedChoices of my ajax.autocompleter from within the afterUpdateElement function, nor how to set an additional paging parameter to the ajax call. i think there is something fundamental i didn''t get yet about js, scoping and how the callbacks are called ;) maybe s.o. can help. greez ... p...
2006 Feb 08
29
Autocomplete and Firefox
Having problems with the autocomplete on my linux box and firefox. When I use form tags it breaks, without form tags everything works fine. Exact copy of the example provided, but I added form tags.. The initial search and select works but then the box sort of "locks up" and I can''t change it at all, If I do try to type something nothing changes but a second later the whole
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...39;s independent of the data source for autocompletion. This // includes drawing the autocompletion menu, observing keyboard // and mouse events, and similar. // -// Specific autocompleters need to provide, at the very least, +// Specific autocompleters need to provide, at the very least, // a getUpdatedChoices function that will be invoked every time -// the text inside the monitored textbox changes. This method +// the text inside the monitored textbox changes. This method // should get the text for which to provide autocompletion by // invoking this.getToken(), NOT by directly accessing // this.ele...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server