There is one web page that because it request data from several web
services, it delays between 20 and 200 seconds.
So my idea is to display the status of the data that is being fetched
(or even the data as its being fetched) to the user, so he don''t have
to
wait like 200 seconds thinking that perhaps the page is not working.
But until now, I always render the web pages totally at the end of the
action in the controller.
What I need now, is to be able to display the view on the beginning of
the action, and then to be able to throw javascript code to refresh the
content of the same page, and finally throw a javascript redirection at
the end of the view.
Any idea of how to archive progressive output in rails?
Thank you
Rodrigo Dominguez
rorra-8FJ0o4ZPi0YMlKAeRRkD2Q@public.gmane.org
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.