similar to: some question about ''observer_field''

Displaying 20 results from an estimated 500 matches similar to: "some question about ''observer_field''"

2013 May 30
1
Need help with file corruption issue
Hi all, I've run into an issue and am wondering if folks can give some advice on how to resolve it. Basically Samba appears to be getting confused, providing some other file's contents. Initially I saw this on a Windows host that has mounted a share from CentOs, but I've been able to repro it on the CentOs host using a self-mount. Here's my test script: #!/usr/bin/perl use
2007 Jun 03
1
observer_field - select form
I want to load a form when a "select form" is changed. I have done this but it doesn''t work( i do not have an error but nothing change when i change the select list): in the view: <code><% form_tag :action => ''update'', :id => @cour do %> <!-- we choose the type of document (which will determine the form to include) -->
2006 Mar 29
2
Help -- rsync Causing High Load Averages
This is my situation and I am running into dead ends. We have a server with about 400GB of data that we are trying to backup with rsync. On the content1 server we had rsyncd.conf as: [content1] path = / comment = Backup list = no read only = yes hosts allow = 192.168.22.181 hosts deny = * uid = root gid = root and on the backup server we had a crontab entry as follows:
2006 May 31
1
Best way to render stuff inside a div and pass variables?
For example, I want to click a button or a link, then without leaving the page, i want the content of a <div> to change accordingly if I click the link1 I want the content1 to show up inside the <div>here</div> I made it possible by using: <%= render :partial => "icons", :collection => @packages, :locals => { :@icon_name => "-add-black-" }
2005 Oct 11
2
echo cancellation
Hi! I want to use speex for echo cancellation in my program, but I have bad results. I will explain what my program does. it is a client-server application. I run a server in room A and a client in room B. the client sends some voice to the server and the server plays it on loudspeakers. I run another server in room B and connects to it from room A using the same application that runs
2005 Oct 11
2
R: echo cancellation
Hi, Indeed I too have troubles implementing echo removal, I like ask kindly to Jean-Marc (or any other) if him can put a source code demo to show us how to use effectively echo removal API and parameters in real case scenario. A big thank you! Roberto -----Messaggio originale----- Da: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] Per conto di hs Inviato: marted? 11 ottobre
2005 Oct 11
0
R: echo cancellation
Source code at: http://people.xiph.org/~jm/speexclient/ Le mardi 11 octobre 2005 ? 10:37 +0200, Roberto Della Pasqua a ?crit : > Hi, > > Indeed I too have troubles implementing echo removal, > I like ask kindly to Jean-Marc (or any other) if him can put a source code > demo to show us how to use effectively echo removal API and parameters in > real case scenario. > > A
2006 Jun 19
0
Extending Prototype
An amazing overview of Ajax Frameworks can be found here: http://www.maxkiesler.com/index.php/weblog/comments/round_up_of_50_ajax_toolkits_and_frameworks/ One framework that sticks out is Echo2 for Java (http://www.nextapp.com/platform/echo2/echo/). I still can''t believe what it can do even though I played with demos for two hours straight. I wonder if there is anyone out there crazy
2006 Jun 12
0
Passing parameters to ''remote_function''
Hi, I am trying to use the ''remote_function'' helper method from the PrototypeHelper class on a the onblur event of a text_field for filling a form with data via AJAX. How can I get the value of the text_field for making a query to the database in the controller action? <%= text_field("item", "code" , :onblur => remote_function(:update =>
2007 Mar 20
2
Progressive AJAX Filter
Hi Guys, In my rails app, I present a table of data that I want to be able to filter using multiple criteria. I''ve created a one-line table of input fields above my table to accept filter criteria like this... <%= javascript_include_tag :defaults %> &nbsp; <form name="sform" action="" style="display:inline;"
2006 Oct 23
0
Using ActiveSupport::JSON in PrototypeHelper, ScriptaculousHelper
Hi all, I was looking at this ticket: http://dev.rubyonrails.org/ticket/6265 and it got me thinking: is there any reason we''re not using the tasty ActiveSupport::JSON encoder to assemble options for the various helper methods in PrototypeHelper and ScriptaculousHelper? At the moment, they use options_for_javascript() in JavaScriptHelper, which is a half-hearted JSON generator that
2006 May 13
5
Ajax Checkbox using Rails
Hi, I''m trying to have a checkbox, that when clickes sends an update to the server and in turn modify the UI with feedback on the success of the operation. The main difficulty I''m encountering is that I can''t pass the checkbox value if I use the standard PrototypeHelpers. I''m using remote_function to build the function call, but it doesn''t allow
2008 Sep 10
5
xmlhttprequest for updating
Hello, I am updating an object with an AJAX form: view: <% remote_form_for(@sample, :update => "content2") do %> <p> parameter: <br /> <%= select("sample","parameter",Parameter.find(:all).collect {|p| [p.description.gsub(''_'', '' ''),p.id]},{},{:size => 4, :multiple => true}) %>
2006 Nov 04
4
how to get observe_field to use GET method?
Hi All. I am trying to set-up observe_field so that it uses the GET method (To work with a RESTful controller). <%= link_to_remote("Test", :update => "main", :url => { :controller => "projects", :action => "show", :id => "3"}, :method => "get" ) %> <%= observe_field("project_selector", :update
2006 Aug 16
0
Multiple observer
Hi I have three drop downs (State, City, Locality) and would like to populate City based on State selection and Locality based on City selection. I have observers on two fields (State, and City). The observer_field on state works fine and it populates city based on state selection. But the observer on city doesn''t populate Locality. Now sure whats wrong with my code. here is the
2006 Aug 17
0
AJAX - Having Multiple SELECT (Drop Down), and dependency
Hi I have three drop downs (State, City, Locality) and would like to populate City based on State selection and Locality based on City selection. I have observers on two fields (State, and City). The observer_field on state works fine and it populates city based on state selection. But the observer on city doesn''t populate Locality. Now sure whats wrong with my code. here is the
2006 Aug 16
6
error with edge rails
I''ve started an app with rails 1.1.6 then ran freeze_edge. My app will not run with rails in the vendor folder. Have I forgot to do something? I"ve been without the internet for the last two months. Has something changed?
2005 Dec 15
0
RJS Templates and the Replace semantics
I have an issue with the way replace_html works in an RJS template. This is a copy of a post on my blog (http://blog.craz8.com <http://blog.craz8.com/> ) that describes the problem and my working solution to the problem. If I have a collection of things that are output like this: <div id="things"> <% @things.each do |thing| %> <%= render :partial =>
2006 Nov 04
0
testing actionpack (for patch)
Hello, I''ve read the file on running tests for actionpack (I''m working on a patch), but I''m getting this error... ./test/controller/../../lib/../../activesupport/lib/active_support/dependencies.rb:240:in `load_missing_constant'': uninitialized constant ActionView::Helpers::JavaScriptHelper::PrototypeHelper (NameError) I''ve tried... rake
2007 Sep 21
0
Rails plugin: jQuery Helper for Rails (jq4r)
Hi all, I''ve just written a Rails plugin: jQuery Helper for Rails (jq4r) and it works as ActionView::Helper::PrototypeHelper and ActionView::Helper::Scriptaculous but jq4r generates the jQuery code instead. I''ve already put the project on Google Code and RubyForge: http://jq4r.googlecode.com/ http://rubyforge.org/projects/jq4r/ If somebodies are interested in this project,