for something like that you should not be using submit_to_remote. It''s
going
to be much easier to just use a normal submit and post-back and do a
redirect_to that will refresh the entire app.
On 4/11/06, Heist <HeistTheAlmighty@gmail.com>
wrote:>
> How would go about to update multiple components when using
> link_to_remote?
>
> I''ve got a button that lets you switch between languages and it
has to
> update every component in my application (like, let''s say: the
main
> screen, the top navigation bar and the search bar). Each component is
> created in a different DIV and whenever the language is switched, the
> entire application should reflect the change.
>
> Using update_element_function is pretty much out of the equation because
> I can''t specify a controller/action for content (instead of *ugh*
just
> plain html). Same goes for using rjs.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060411/0fff20e0/attachment.html