There is a specific redirect_to for RJS templates, don't remember the
method call off the top of my head, though.

-PJ

On 5/1/06, Stuart Hungerford <[EMAIL PROTECTED]> wrote:
Hi,

I'm using Rails 1.1 and the periodically_call_remote() helper to
query the server for the progress of a long running action.

I'm using the excellent new RJS partials to send a page.replace_html()
to update the status information on the page--which works very
well.

When the action completes I'm also trying to send a redirect_to()
by the same approach--which doesn't seem to work in that the browser
window and URL bar are not updated.

Is there something special about the context of the
periodically_call_remote() function that means I need to force
browser redirects in another way?

Any advice much appreciated,

Stu

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to