similar to: Not able to pass the parameters in Firefox

Displaying 20 results from an estimated 20000 matches similar to: "Not able to pass the parameters in Firefox"

2006 Apr 19
1
How to save the uploaded file
Hi, Can anyone tell me how to save the uploaded file and what are all the steps that are required in this process.As of now i am able to get the uploaded file name and saving it to the database.But while i am trying to retrieve it i am not able to do that because i am not saving the image to file system. Thanks, Chandra. -- Posted via http://www.ruby-forum.com/.
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ? My form looks like this: <%= form_remote_tag :url => { :action => ''do_image_upload'' }, :html => { :enctype => ''multipart/form-data'' } %> <%= file_field ''image'', ''file_data'', :size => 32 %> <%= submit_tag
2006 Aug 06
2
file upload with form_remote_tag
Is there a way to use form_remote_tag and to upload a file? The default behavior ignores the upload when the Javascript serializes the form to create the parameter list. Basically, i''m just looking for an ajax file upload capability. Any help would be appreciated. thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 17
2
Specify ID for a form?
Hi all, I have a a really, really dumb Newb question... I am trying to use observe_form to use AJAX calls in order to refresh a particular page fragment using the form data. I have run into a stumbling block very early on in the process - how can I provide an ''id'' attribute to the form_remote_tag or start_form_tag methods? Specifying something like :id =>
2006 Apr 14
2
Nested AJAX remote_form in form?
I''d like to achieve something that is better described by the following code: <%= start_form_tag :action => ''create'' %> <%= text_area ''place'', ''description'', :cols => 100, :rows => 4 %> <div id="categories"> <%= form_remote_tag :update => ''categories'',
2005 Jun 10
1
Submitting an ajax form via a select
I''m trying to submit an ajax form via an onchange method in a select menu, but I can''t seem to do it. The problem holding me up, is that I can''t figure out how to set the ID of the form when using a form_remote_tag (I need to use the ID of the form as the forms on the page are variable, so I can''t reference it in the form array). Setting :id =>
2006 May 18
6
Form actions with additional parameters
Hiall, I want to give the action of a form an additional parameters but can''t figure out how to do it. My code looks like this <%= start_form_tag :action => ''create'', next_step => true %> <%= render :partial => ''user_form'' %> <%= render :partial => ''community_form'' %> <%= submit_tag
2005 Jul 04
4
form_remote_tag works on Firefox but not in IE
Hi, I''m having troubles using form_remote_tag to render a partial (a new row in a table). It works on Firefox but with IE 6 nothing happens when I submit the form. I''m running WEBrick on windows localhost. Here is what I noticed : * using Firefox: 127.0.0.1 - - [02/Jul/2005:14:35:35 W. Europe Daylight Time] "POST /item/addItemRow HTTP/1.1" 200 267 - ->
2006 Jan 04
4
HOWTO: Render partial in div
Hey- I''m using ROR 1.0 and script.aculo.us 1.5.1. I''ve been trying unsuccessfully to render a partial in a DIV, but can''t seem to get the right combination of stuff to make it work. There seems to be a few different ways of going about it. Right now I can render a partial. What do I need to to render the partial in a div? Here is what it looks like so far: #
2007 Nov 06
2
passing a parameter only if not blank
I have this form tag: <% form_remote_tag :update => ''hotel-loyalties'', :url => { :action => ''make_hotel_loyalty'', :id => @user.id, :manager => @manager.id end } do -%> I only want to pass the @manager value if it is not blank. I tried: <% form_remote_tag :update => ''hotel-loyalties'', :url => { :action =>
2006 Apr 05
8
Pass paramter via form
Hi, I want to allow users ti search my blog. I have the following code below to initiate the form. <%= start_form_tag :action => ''search'', :search => search %> <p align =center><%= text_field ''search'', ''search'',"size" =>"20" %> <%= submit_tag ''Search'' %></p>
2006 Aug 29
1
Scope problem with form_remote_tag, ajax?
Hi all, I have tracked an odd behavior down to what I think is an issue of scope. In short, when I use form_remote_tag to establish an AJAX form, my database fields don''t get populated when performing an edit on the record. Those same fields will get populated using start_form_tag and no AJAX. I think that Ruby can''t find the local object that represents the database
2006 Mar 23
1
start_form_tag how to use the options parameter ?
Hello, I don''t understand how to use the options parameter of start_form_tag I want to have the class and id attributes of the form initialized to "Foo"... I suppose it''s something like start_form_tag( :options[''class''] => ''Foo'', :options[''id''] => ''Foo'') But I can''t figure out the
2006 Jan 22
12
Problems with File_column
Hi, Rails - newbie here.. I''m setting up an app and am trying to use file_column to upload a picture with an item and I''m running into several problems. (Background: I''m running Locomotive Rails under OS X 10.4.4, and using Safari) I followed the directions to add the necessary items, then found out that I had to add the item to make the form tag be a multipart
2006 Jun 27
3
start_form_tag question..
i am trying to get a start_form_tag working, but i am shooting blanks.. here''s what i am trying to do.. i have a controller called "forms.." with an action "new_entry".. it is called by: localhost/forms/new_entry this is just a quick form to test another action.. that action is: localhost/logger my question is, how do i construct start form tag in order to
2006 Mar 07
6
form_tag - directing to new target window
How do I use... <%= link_to "All Facilities", :action => ''fac_log_all'' %> if I add :target => "_new" that is just a parameter and not a directive. I just want reports to print into a separate window. How do I do that? It''s not clear at all to me Craig
2006 Jan 19
9
start_form_tag not taking url_for options
I''ve got a form that should post to user/login. The code to start the tag is: <%= start_form_tag { :controller => "user", :action => "login" } %> That gives me this exception: compile error script/../config/../app/views/user/login.rhtml:1: parse error, unexpected tASSOC, expecting ''}'' _erbout = ''''; _erbout.concat((
2005 Nov 09
3
AJAX form Parameters jumbled.
Sorry for the repost but I originally posted this as a response to another thread. I have a text field called ''phrase'' but the parameter values always come up as nil and when I check the parameters dumped in the error message I do not get the normal hash you''d expect. Instead of something like {"phrase"=>"jim"} I get:
2006 May 04
4
form post not working
Hi there, I have this form code in a view: <%= start_form_tag :action => "listByArtist", :id => artist.id %> <p><b>List by Artist:</b> <select id="artist_id" name="artists[id]"> <%= options_from_collection_for_select(@artists, "id", "name") %> </select> <%= submit_tag "List"
2006 Aug 06
6
View passing empty or no value to controller -- help
Hi, I have the following view: <%= start_form_tag ( { :action => ''find'' }, :method => ''get'') %> <p> <%= text_field_tag :lemma, params[:lemma] %> </p> <%= link_to "Find It", :class => "submit" %> <%= end_form_tag %> And the following find action in the controller: