Just changing the frequency property wouldn't cause the refresh rate to change. It's set up with a setInterval() call which is implemented in the browser. I'd either monkey patch PeriodicalUpdater to do a clearInterval() followed by setInterval() with the new value, or just shut down the PU and start up a new one.
-Fred On Fri, Jun 13, 2008 at 12:51 PM, Debbie <[EMAIL PROTECTED]> wrote: > > Hello All, > > I've seen this topic but it seems no one has post a response. I'm > using periodicalUpdater to display live content queried from a > database. Sometimes the result can be thousands of rows and before it > finishes processing (displaying as a visual indicator) all the data, > the next request is sent to the server. I'd like to have a > periodicalUpdater whose frequency can be set bases on the size of the > result set. I've tried to set -- Science answers questions; philosophy questions answers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
