List Info

Thread: update if periodical updater has changed




update if periodical updater has changed
user name
2008-01-21 19:00:23
i have a periodical updater running.  i want to send a
different
Ajax.Updater if the periodical updater's information
changed.  what's
the best way to do this?

i know the periodical updater knows if the content has
changed, this
is how it would know if the decay needs to activate or not. 
can i use
that to my advantage in determining whether another
function,
containing an Updater would execute?
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---


Re: update if periodical updater has changed
user name
2008-01-21 21:15:19
On Jan 21, 2008 7:00 PM, ahs10 <quietawakegmail.com> wrote:
>
> i want to send a different
> Ajax.Updater if the periodical updater's information
changed.

What do you mean by this? A different URL? Different
parameters?

You might be able to accomplish what you need by passing in
an
onComplete method to invoke, or if that doesn't work out you
can
always override/wrap the updateComplete method to do what
you need.

-justin

--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )