search for: remote_form_tag

Displaying 8 results from an estimated 8 matches for "remote_form_tag".

2006 Jun 13
0
remote_form_tag
I''m using the remote_form_tag to submit my form data to a controller method call. I would like to forward if everything checks out and display the model errors is there is a mistake. Right now my method call returns a string and it''s being displayed in a div, but I can''t force a redirect or display errors is...
2009 Mar 18
1
Ajax file upload with remote_form_tag
when I tried below, it worked <form target="upload_iframe" action="/profile/validate_charts_file" id="upload_charts" method="post" enctype="multipart/form-data"> <input type="file" name="charts_file" id="filename" /> <input type="button" name="submit"
2006 Jun 22
1
remote content
Hi, I''ve looked through the api and I can''t seem to find the functionality that I''m looking for. I want a link that, when clicked, will replace the content of a div with the rendered content of another action. Something like what you can accomplish when you use remote_form_tag and then have the reply replace the content of a div in the page. I''m sure this must be possible from a link, but I can''t seem to figure out what to do. Thanks, David
2006 Jan 16
1
redirect_to is not working with ajax forms
I''m having trouble using redirect_to in an action called by a remote_form_tag. The log shows the redirect, and rendering of the redirected page, but the browser won''t redirect. If I set :update in the form_remote_tag, the page that was supposed to be redirected to will replace the :update elements content, and crash FF1.5 Running edge rails, and utf8 encoding josh...
2006 Jun 14
0
krjs plugin: a different way of doing RJS
...plugin, krjs<http://plugins.radrails.org/directory/show/70>, that introduces kind of a VB-event-style of writing RJS apps. You introduce Ajax behaviors into your application by defining event handlers ( e.g. on_form_submit, on_password_change) in your controllers instead of explicitly doing remote_form_tag or link_to_remote in the views templates. You''ll only need to continue using form_tag, text_field_tag et al to get the benefits. Markaby supported. I''m finding it useful (duh), pls feel free to comment. Cheers -- choonkeat - http://blog.yanime.org/ - http://www.rssfwd.com/ ---...
2006 May 15
0
AJAX and Smooth Paging
...is to layout the page like: <div id="viewport" style="overflow:hidden"> <%= partial rendering goes here %> // instead of a button put one of those throbbing progress marker images here // that when it''s within the visible portion of the viewport, trigger a remote_form_tag // that appends to the bottom of viewport the next bit, and hides the image </div> Is this the best way to do this? If so, how do I figure out whether my image is within the viewport? I know that Rico has the LiveGrid functionality which I could cobble into place, but I''d rather n...
2006 Mar 16
23
AJAX on Mobile Internet Explorer
Hi! I try to get AJAX running on a mobile Windows Mobile 5.0 based device and failed. There should be a JavaScript support but nothing happens. Have any of you experience with the rails javascripts on a this platform or are there any hints, documentation on the net? tia, -- Daniel V?lkerts Protected by Anti Pesto.
2006 May 17
4
.rjs templates undesiered output problem
Hello everyone, I am working with rjs templates in rails, and I''m amazed of how simple it is to generate code with ajax, however I''am having some troubles and I can''t seem to find a way to solve''em. Whenever I put some code in the template, let''s say: page.visual_effect :highlight, ''sitio37'', :duration => 3 I get the