similar to: problems with variable updated from observer

Displaying 20 results from an estimated 2000 matches similar to: "problems with variable updated from observer"

2006 Jan 22
0
Ajax post to apache2/mod_ssl with client certificates ......
I''m using the text_field_with_auto_complete_helper in one of my forms. It''s the only input in the form (along with submit button). I''m deploying with certain parts of site restricted to use https with client certificates. Basically whats happening is that the autocomplete dropdown is getting populated correctly - i select one and it puts it''s value in the
2009 Jun 18
1
undefined method `text_field_with_auto_complete'
Dear all: I got the error in my rails 2.2.2 project on ma os x leopard. i did as follow: script/plugin install auto_complete but when i start the server and try to approach the page which used the auto_complete, it can''t find the helper method as the error told: "undefined method `text_field_with_auto_complete'' ", than i try this in script/console helper.methods i
2005 Oct 20
1
Autocomplete - Destroying the object
Hi, I''m new to all this so if this is a daft question sorry. I''m using Ajax Autocomplete to populate a search box with likely matches. These results need to be filtered by an option from a select box that is alongside the search box. As the current Autocomplete function only takes in one id to post to the search file, i figured i could post more stuff to the Ajax.Autocompleter
2006 Mar 13
2
Autocomplete broken after update to Rails 1.0
When I upgraded to 1.0, I broke autocomplete on a field. I''ve done everything that I can think of to fix the problem, but nothing has worked. I''m able to recreate a simple autocomplete from examples on the various tutorials, but my original code just will not work. <input id="incident_first_party_name" name="incident[first_party_name]"
2007 Nov 11
3
Scrollable selectbox for auto complete
Hi everyone, I have used used scriptalicious for the autocomplete. It works but with one problem. When scrolling down the list, the values not visible are not scrolled into focus. eg I use the keyboard down or up key. Here is my CSS <style type="text/css"> div.auto_complete { height: 100px; width: 350px; background:
2006 Jan 30
1
auto_complete_with_index_for
I have a crude hack to allow auto_complete to work with indexed text fields. I needed it for a timecard entry form with an arbtirary number of records which can be added/changed/delete willy-nilly by users. One of the fields is a perfect candidate for autocomplete since it references a database object with a large number of choices and long descriptions. Using a select list is extremely ugly in
2006 Feb 11
1
autocomplete inside a table?
Has anyone tried putting an autocomplete field inside a table? I can do this successfully within FireFox, but in IE, it just doesn''t render the "drop-down" autocomplete div. Unfortunately, I don''t understand enough about why IE doesn''t work to know how to fix it. My autocomplete div CSS is: div.auto_complete { position: fixed; border: 1px solid #eee;
2006 May 16
0
in_place_editor with local autocomplete
Hi Rails gals n guys I am trying to enhance the "Lightning-Fast JavaScript Autocompletion" rails recipe. For those that do not have the pdf-book the recipe explains how to use a javascript array for an auto-complete text field. I want to combine this with the in_place_editor call. My current (unworking) code: <!-- Load the array for autocomplete --> <script
2008 Apr 04
4
Auto Complete Problems
Hello All, I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m having some difficulties. When I start typing in my input box, instead of getting a nice drop down, the styling on my page is getting all out of wack (ie my background colours change, link styling changes, etc) and I''m not seeing any autcompletion data. Here are the steps I''ve taken
2006 Mar 07
0
Ajax.Autompleter not working on IE
I have IE 6.0.2 on an old Win 98 machine (that sounds like a vacuum cleaner when running), but I''m developing with FireFox and on Mac and Linux where things seem to work fine. On IE my Ajax.Updater code and my scriptaculous effects are working fine, but my autocomplete fields are not. I assume I''m doing something wrong in setting up the field: I use this on my form: <input
2005 Sep 26
1
[Fwd: [Rails] Re: Autocomplete - setting a second value?]
Yeah, right... I posted this to the Rails mailing list. Sorry for people who see duplicate posts. -------- Original Message -------- Subject: [Rails] Re: [Rails-spinoffs] Autocomplete - setting a second value? Date: Mon, 26 Sep 2005 10:05:24 -0400 From: Fran?ois Beausoleil <fbeausoleil@ftml.net> Reply-To: rails@lists.rubyonrails.org To: rails@lists.rubyonrails.org References:
2006 Mar 08
4
Event.Observer - (was: Ajax.Autompleter not working on IE)
See if I can stir up a little life with a demo. I can''t believe that Ajax.Autocomplete doesn''t work on IE, so I *must* be doing something wrong. Trying to figure this out I added some alerts to control.js and it seems that IE is not getting the onkeypress events. So, here''s a demo: http://hank.org/demos/form.html That contains two fields with onkeypress events:
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
2006 Mar 10
0
auto_complete_field, :on_hide woes
Hi, I have auto_complete working generating a list and populating a text box in a form. The problem arises when I add the :on_hide option as follows: <%= auto_complete_field "search", { :url => {:action => "search"}, :on_hide => "foo($(''selected_uid''), $(''search_list''))"} > %> :on_hide makes everything stop
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,
2006 Feb 18
0
question on text_field_with_auto_complete
Hi, I have a tricky question about text_field_with_auto_complete. I''ve created an admin section for a database of books and on each page there is a form at the top with a single search field on the title of books. So I''ve used: <%= start_form_tag ({:controller => ''books'', :action => ''edit'' }) %> <label
2010 Mar 11
0
jrails_auto_complete problem
Hi All, I know this is not the right place to ask, but I am sure many people would have faced this weird jrails_auto_complete hovering problem. You can see my code here: http://pastie.org/864655 Everything works fine when auto-completed element is selected correctly. But selecting an element from the auto_complete list by mouse is tough (it''s all messed up). Somebody posted a similar
2008 Feb 07
4
text_field_with_auto_complete
I have the following in my view: <% form_tag :action => ''detail'' do %> Search for Sales Order Number:<br /> <%= text_field_with_auto_complete :sales_order, :id %>&nbsp; <%= submit_tag " Go "%> <% end %> And I have the following in my controller: auto_complete_for :sales_order, :id This worked fine in 1.5, but
2006 Jan 10
0
Changes to Autocomplete?
Hi all, Can anyone confirm if anything has changed in Ajax.Autocompleter (or Autocompleter[.Base]) in 1.5.1 since 1.5? I've updated to this version and either something has changed (unlikely) or I've made a change somewhere that's borked it (much more likely). Events aren't firing on the text box when I enter input or blur away from the control ... Many thanks! Regards, Cam
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 -