Displaying 2 results from an estimated 2 matches for "edit_new".
2007 Jun 21
0
problem with redirect_to() and VirtualHost
...lid value into a form, we want to
set up the "flash" hash and redirect back to the page that
contained the form. Something like:
flash[:notice] = get_errors()
redirect_to(:back)
This works (on the LAN) when the URL of the form page is:
http://fido.cfcl.com:1234/conf/edit_new
However, if the URL is:
http://xyz.cfcl.com/conf/edit_new
the redirect results in:
Proxy Error
The proxy server received an invalid response from an
upstream server.
The proxy server could not handle the request POST
/conf/create.
Reason: Document contains no...
2006 Apr 21
3
rjs in multiple ajax page
...9;,
:loading => visual_effect(:slide_down, "new_post", :duration => 0.5))
%></p>
</div>
<div id="new_post">
</div>
This works fine and the form is rendered inside "new_post" from the
controller using render :partial => ''edit_new'', :layout => false
_edit_new is as follows:
<%= form_remote_tag(:url => {:action => ''create'', :id => @post}) %>
<p>subject:</p>
<p><%= text_field(:post, :subject, :width => 60) %></p>
<p>message:</p>
<p&g...