similar to: auto_complete when tab pressed problem

Displaying 20 results from an estimated 20000 matches similar to: "auto_complete when tab pressed problem"

2006 Feb 11
1
auto_complete
hi guys I am trying to work the AJAX text_field auto_complete and I was wondering if someone can show me a sample code of how it works thanks I really appreciate it -- Posted via http://www.ruby-forum.com/.
2006 Jun 21
3
Is this a weird bug with auto_complete?
I think I may have found a bug with the auto_complete feature in rails: My controller has a before_filter with an except clause preventing the filter from running on a specific action. The action renders a view with a text_field_with_auto_complete field. Much to my suprise, the filter appears to run when I type data into this field! The filter is part of my security regime, so I end up with a
2010 Mar 19
2
auto_complete plugin on rails 2.3.5
Hi, this is my first post. I have run: $ ruby script/plugin -v install auto_complete but the result is: Plugin not found: ["auto_complete"] #<Errno::ENOENT: No such file or directory - /dev/null> I have also try to run: $ ruby script/plugin -v list and the result is: Discovering plugins in http://dev.rubyonrails.com/svn/rails/plugins/ /CHANGELOG /account_location/
2008 Dec 25
5
Plugin auto_complete
Hi all ! I began to develop Rails applications with Aptana Radrails under Windows. For that I had successfully installed auto_complete plugin and succeeded to use it. Now I have an iMac and I''m trying to restart my developments under OS X. My problem is: when I run the command ''script/plugin install auto_complete'', the result is: Plugin not found:
2007 Jan 19
0
About that auto-complete select box ...
Cross posted from the "RoR:Talk" board... This is more a CSS question than a Rails one. In AWDwR, in the script.aculo.us section talking about auto-completion, it says "It is worth highlighting that there is no JavaScript to enable the arrow-up, arrow-down, highlight behavior of the list. It is enough to provide the stylesheet above; it turns out that all <ul> tags support
2006 Feb 26
2
auto_complete on steroids
I am trying to get more out of auto_complete than it apparently was designed to deliver. My problems seem to be two fold. 1 - I use aggregations on names... :first_name, :middle_initial, :last_name and then aggregate them using a composed_of :wholename thing auto_complete_for seems to be wired to only use table columns directly and gags on the aggregate form. 2 - foreign table columns -
2006 May 04
1
auto_complete works sometimes...
Hello All: I have set up an auto_complete search field within my application controller and application layout so that it is available to all pages in my app. I have run into a snag with this in two projects I am working on where it won''t work on one particular page related to a specific controller. I get a No Method error on the column name referenced in the auto_complete
2006 May 26
0
Seeking complete example/plugin of simple usage of Lookup (auto_complete) for making associations on models
I think the second most useful usage of the auto_complete is for editing relations (associations). I''ve searched for almost a week on all RoR resources but I didn''t found any solution to this problem. Instead I''ve discovered that there are many looking for this. I think that this problem must be clearly solved and the clear how-to should published on one-more RoR
2006 Jan 26
0
auto_complete with 2 related tables
I''m looking for a wiki / example of how to use auto_complete with 2 different tables so you can use the values in the column of one table to provide a value for a column in a related table. This concept apparently comes after my Agile book and is important to me and I would think should be important to others and I simply cannot make it work. Anyone have a reference they can point me
2007 Oct 09
0
auto_complete :on_show :on_hide
Hi, Trying to use the auto_complete options of :on_show and :on_hide.... ......, :on_hide => "function(element, update) {allow_change_control(true);} " but when I do this it runs my js function but the div doesn''t hide. I would like the auto_complete to work normally and just run a js function which sets a js variable. Any suggestions Thanks
2006 Feb 13
2
Ajax.Autocompleter is not a constructor
Hi Rails, I am having trouble setting up an autocomplete text field. Using rails 1.0.0 and just trying to copy the simple scriptaculous demo (http://demo.script.aculo.us/ajax/autocompleter) fails. My view and controller are set up the same way. In firefox 1.0.4 (and safari, don''t remember the version) I get the Ajax.Autocompleter error in the javascript console when loading the
2008 Jun 19
2
undefined method `text_field_with_auto_complete'
Hello everybody, I am new to ruby on rails, I am trying to create an auto_complete field on Ruby on Rails 2.0 and even though I have installed the auto_complete plugin and followed the instructions of various tutorials, specially the following: http://trix.pl/blog/auto-complete-for-rails-2-0-tutorial.html I am still getting the same error: undefined method
2006 Apr 28
1
auto_complete galore
List, I''m using auto_complete with textfield, called CompanyCode. so when you type fx ''0403'' it will show a list with matching company codes, and the respective company name - like so: 040333 - Some company inc 040322 - Another company 040323 - whatever Corp. Anyway, once a user selects one of the entries from the list - the whole text (name and code) is put into
2006 Jan 07
3
script.aculo.us: autocomplete does not work
I copied an exact copy of "http://demo.script.aculo.us/ajax/autocompleter" to my harddisc inclusive all .js and .css. Then I changed "new Ajax.Autocompleter(''contact_name'', ''contact_name_auto_complete'', ''/ajax/auto_complete_for_contact_name'', {})" to "new Ajax.Autocompleter(''contact_name'',
2008 Jun 12
11
auto_complete with multiple params
I''m using the auto_complete plugin, and it works great, my problem is i need to pass multiple parameters to the controller other that what is typed in the text field. <%= text_field_with_auto_complete :search, :contains, :size => 15, :frequency => 0.1, :skip_style => true -%> This is what i have as of now, but i also need to pass ":language => @default"
2010 May 05
0
Auto_complete with has_one association
Hi, Have an issue with the rails auto complete, it works fine but I don''t know how to find the id element search in the textfield. Here is what I''ve done: <%= text_field_with_auto_complete :user, :ville_name, { :size => 15 }, { :url => formatted_villes_path(:js), :method => :get, :param_name => ''search'' } %> Model: class User <
2009 Sep 23
4
auto_complete text field not showing drop-down box properly
This may be more of an Ajax question than a Rails question, but I''m pretty new to Rails and know approximately zero JS. I''d love if someone could give me a little direction. I''m using pat shaughnessy''s nested text_field_with_auto_complete plugin, and it seems to be *mostly* working properly (after many hours of fiddling). However, the drop-down box is not
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) , but I am wondering if people know of some good real world examples of uses of drag n drop and sortable lists. such a cute script will likely be *ab*used as much as it is used. obviously the point here is to use script.aculo.us to improve the user interface rather than just have some k00l eFX. e.g. the drag n drop instantly
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that will show a predefined Array and will scroll automatically to the first match. I have had success with with getting my list to populate and show all of the choices, however I cannot get it to scroll to the first match. Since I build the JS Array I can know exactly how many items are in the list going into my selector,
2007 Apr 21
0
Auto_complete
Hi Guys, Am building an app in rails1.2.1 and wanted to use the auto_complete. So i have it set out as follows. # view <%= text_field_with_auto_complete :contact, :first_name %> # controller auto_complete_for :contact, :first_name But this is all l get NoMethodError in ContactsController#index undefined method `auto_complete_for'' for #<ContactsController: 0x3384570>