Form_remote_tag and Safari (HELP!)


#1

<%= form_remote_tag :url => { :action => ‘list_setups’ },
:loading => “Element.update(‘setupslist_display’,’’);
Element.show(‘setupslist_progress’)”,
:loaded => “Element.hide(‘setupslist_progress’)”,
:update => ‘setupslist_display’,
:complete => evaluate_remote_response %>
<%= select “website”, “id”, Website.find(:all,
:conditions => [“merchant_id = ? AND sitetype = ‘PPC’”, @session
[:user].merchant_id]).collect {|p| [p.domain, p.id]} %>
<%= image_submit_tag “http://images.bluechips.com/DomainWorks/Submits/
submit.gif” %>
<%= end_form_tag %>

I am using this as the form_remote_tag tag for a submission of a
form, but in Safari 2.0.3 the parameters do not post at all, while in
IE 6.0.x they do. In the log file for a Safari request:

Processing ConfigurationController#list_setups (for 65.39.240.219 at
2006-01-23 22:30:14) [POST]
Parameters: {“action”=>“list_setups”, “controller”=>“msa/
configuration”}
Rendered msa/configuration/_ajax_list_setups (0.00067)
User Columns (0.000200) SHOW FIELDS FROM users
Completed in 0.00384 (260 reqs/sec) | Rendering: 0.00105 (27%) | DB:
0.00020 (5%) | 200 OK [http://gin.statewood.com/msa/configuration/
list_setups]

And in the log file for an IE request:

Processing ConfigurationController#list_setups (for 207.6.244.123 at
2006-01-23 22:39:41) [POST]
Parameters: {“action”=>“list_setups”, “website”=>{“id”=>“6”},
“controller”=>“msa/configuration”}
Rendered msa/configuration/_ajax_list_setups (0.00116)
User Columns (0.000172) SHOW FIELDS FROM users
Completed in 0.00433 (230 reqs/sec) | Rendering: 0.00157 (36%) | DB:
0.00017 (3%) | 200 OK [http://gin.statewood.com/msa/configuration/
list_setups]

The form data is sent in correctly from IE.

I am using Scriptaculous version 1.5.1 included as follows in the
layout:

<%= javascript_include_tag ‘prototype.js’ %>
<%= javascript_include_tag ‘scriptaculous.js’ %>

I tried the javascript files distributed with Rails, and inserted
into “lib/javscripts” with “rails app”, but the behavior is exactly
the same.

Has anyone run into this before? Please help! Any ideas at all? I
have tried everything, and I am about to start tearing my hair out
over this one. I have to have Safari working, and I will have to use
another Ajax library if I cant get this to work. To that end, what
would be the best other Ajax library to try?

–ejw

Eric W.
Email: removed_email_address@domain.invalid