similar to: Auto Postback in Ruby On Rails

Displaying 20 results from an estimated 3000 matches similar to: "Auto Postback in Ruby On Rails"

2008 Jul 09
4
probl;ems with Rails 2.1.0
i just install the Ruby on Rails 2.1.0..... But i faced lots of problem.... is there any way to install Ruby On Rails 2.0.2 thanking you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
2007 Mar 07
4
Ajax and IE6 - is there some sort of "trick"?
Hi, I''ve got some Ajax stuff that shows more or less of a complex form based on a radio button selection. A "radio_handler" controller action is the action for a form handler. Some seemingly simple "replace_html" fires as a result of different radio buttons being chosen (which should then show more or less of the form). This all works just great on Mac Safari and
2005 Jan 29
4
problem with postback generator on 0.9.5
I''m trying to call the postback generator on rails 0.9.5. I''ve installed the postback tarball into gems/1.8/gems/rails-0.9.5/generators/postback as it seems like it is supposed to be. At least, I installed the login generator the same way and it works. But when I try to run it, I get this: [carl@e236014 test]$ ruby script/generate postback
2009 Nov 26
15
bad move? - complex form with *many* observe_field's
I have a pretty complex form with many text fields and a number of selects. We let the user add multiple types of associated objects to the parent object and to edit the values for those associated objs, so the form can have something like the following number of fields on the page: 9 text fields + 3 selects + a*(1 text + 1 select) + b*(1 text + 1 select) + c*(1 text + 1 select) + d*(1 text +
2006 Aug 14
1
Postback Action Problem
I was trying to use postbacks, but its not working. def edit @xxxx= xxxx.find_by_id(params[:id]) || xxxx.new if request.post? @xxxx.attributes = params[:xxxx] redirect_to :list and return if @xxxx.save end end I get the following error: SystemStackError in xxxxxController#edit stack level too deep. The code of list is same as the code generated by the scaffold
2008 Jun 19
5
observe_field
I have been trying to pass a collection_select parameter and a text field parameter to observe_field so that it watches both the parameters simultaneously. but what i can see is , when i select some value from drop down and dont write anything in text field its giving correct results.parameters are also correct passed, but just after that if i write something in text field that value also get
2007 Jul 14
3
observe_field, does this generate HTML?
I don''t have Rails installed at the moment, I''d like to check myself, but it''s just a simple curiosity. observe_field fits into replacement tags <%= %>, which caught my attention because as far as I know it''s just javascript observing a field and should not stick anything into HTML. Is <%= merely used as an enabling method, or will there actually be
2006 Feb 16
4
newbie question regarding basic AJAX form verification
Hi, I''m confused about how form verification with AJAX works. Let''s say I have a ''new.rhtml'' view that contains a form with two fields, and the form action is ''create''. Let''s assume that I also want to do some type of data validation on one of the two fields via AJAX before I submit the form. But since I''ve already
2009 Feb 26
8
beginners question
hi group, I am making a little rails app to experiment with rails. It consists of one model, item, that represents an item on a todo list. A todo item has a description, a state (finished or not) and a due date. After changing the scaffold screens a bit, I wanted to be able to have no due date. I tried to do this by making a radio button; if ''no date'' is selected, the date
2005 Apr 25
1
Problems when using sweepers with postbacks
I''m using a cache sweeper class [1] to take care of some pretty complex sweeping. However, there is a problem with the current implementation. Namely, the sweeper gets called only when an action named in cache_sweeper is called using GET. As many methods where sweeper would be useful are using postback to send the form to the same action, this causes the cache to get swept when
2006 Apr 03
6
problems with Rails 1.1 observe_field :with serialized
I''d like to use observe_field to watch a field, and then when it changes send the entire form to the server. I had been using <%= observe_field ''entity_name_''+@account.id.to_s, :frequency => 0.5, :update => ''auto_complete_''+@account.id.to_s, :url => { :controller => ''committees'', :action=>
2006 Aug 15
4
observe_form not serializing form
I want to use observe_form to automatically save notes in a text_area. This is the code I have: <form id=''notes_form''> <%= text_area :contact, :notes, :cols => 40, :rows => 10, :id =>''notes_text_area'' %> <%= observe_form(''notes_form'', :frequency => 1,
2009 Jul 29
6
Doubt in nil object with ajax
hi this is my htnl <html> <head> <%= javascript_include_tag :defaults %> </head> <body> <%= form_tag nil, { :id => ''search_form'' } %> <%= text_field ''recipe'', ''name'' %> <%= end_form_tag %> <div id="recipe"> </div> <%= observe_form :search_form, :frequency =>
2007 Oct 12
13
How to maintain Form State between Postback ?
Hi all, I''ve trying to look for answers for my problem but so far couldn''t find one, hopefully you can tell me what to do. This problem is so ubiquitous to Web Development, pertaining the fact that the web is stateless, i.e. how to maintain form''s state between postback. Basically, I have a form with some validations run for some of the fields, whenever the user submit
2006 Jan 09
2
Using RJS templates with observe_form
Hi there, I''ve been checking out RJS templates, and have been trying to use them with the observe_form helper. However, the form values are no longer being passed in the params (as soon as I point the action to the non-rjs and add the ''update'' clause everything is working again). Is this expected? Cheers, Dave -------------- next part -------------- An
2008 Dec 22
2
how to use the observe_field to get more than one field?
Hi, I have two selctdropdown boxes name like "resolution" and "codecname". Now i am able to get the single field value either from resolution or codecformat select box. ex: observe_field ''resolution'' or observe_field ''codecforamt'' is there any way to get the two fields in to the observe_field method ? Can anyone give me suggestionfs or
2006 Apr 14
0
Issue with Core Effect and AJAX Postback
Hi, I''m displaying an Effect during an AJAX request, unfortunately, during the postback, the Effect doesn''t display. Is there a solution ? Best Regards, -- Jean-Philippe Encausse - R&D Jalios SA Jp-vcK5r0oTKUrk1uMJSBkQmQ@public.gmane.org - http://www.encausse.com ICQ: 109796741 - AOL: NextOne6666 - MSN: Nextone6666-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org Mob: +336 82 12 56
2005 Mar 07
3
Tons of shiny new stuff
Ok despite this crazy flu which got me last week i was able to get some coding done. Here goes: == Hieraki Hieraki got plenty of improvements next to the rails 0.10 update. The biggest new features are proper yaml, html and readme export. But there are also plenty of new code improvements like the switch to my favorite postback style for all controllers. Hieraki traditionally serves as a demo
2006 Apr 12
22
Dynamic Select Box
Hi, I''m new to rails/ruby having come from PHP and am just starting to get my head round how easy it can be :) However, can anyone point me in the right direction for dynamicaly updating a select box based upon the choice of a previous select box, without a page refresh. Any and all help greatly appreciated. Thanks -- Posted via http://www.ruby-forum.com/.
2008 May 16
3
radio button observe field only triggers once
Hi, If i add field observers to radio button fields they trigger once but then nothing after that. I have multiple fields in a form that i need to know if one of them changes and which spedific field. Below is an example of two foelds i tested and they trigger once with the alert but then nothing after that. I also tried individual observers for each field test_yes and test_no but with the same