search for: defaultparam

Displaying 5 results from an estimated 5 matches for "defaultparam".

Did you mean: defaultparams
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,
2005 Jul 09
7
Extending the AJAX autocompleter
Hi (I think Thomas?), I am trying to extending the AJAX autocompleter here, and would need to pass on additional params to the Framework I am using which is taking on the request. For this, I have changed the onObserverEvent function in controls.js as to the following: onObserverEvent: function() { this.changed = false; if(this.element.value.length>=this.options.min_chars) {
2007 Jan 17
0
Triggering Autocompleter by button
...tocompleter.prototype, Ajax.Autocompleter.prototype), { initialize: function(element, update, url, options) { this.baseInitialize(element, update, options); this.options.asynchronous = true; this.options.onComplete = this.onComplete.bind(this); this.options.defaultParams = this.options.parameters || null; this.url = url; this.cache = {}; if(this.options.trigger) { Event.observe($(this.options.trigger), "click", this.onTriggerClick.bindAsEventListener(this)); }; }, on...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...f(this.getToken().length>=this.options.minChars) { this.getUpdatedChoices(); @@ -358,7 +358,7 @@ Ajax.Autocompleter = Class.create(Autocompleter.Base, { this.options.parameters = this.options.callback ? this.options.callback(this.element, entry) : entry; - if(this.options.defaultParams) + if(this.options.defaultParams) this.options.parameters += '&' + this.options.defaultParams; new Ajax.Request(this.url, this.options); @@ -382,7 +382,7 @@ Ajax.Autocompleter = Class.create(Autocompleter.Base, { // - choices - How many autocompletion choices to offe...
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