Sorry for the confusion people!! It was a problem with my code, and also a strange problem with rails in that it was not saving a value properly.
Apologies! On Jun 30, 2:41 pm, Bryan Larsen <[email protected]> wrote: > Are you running in development mode? In that case, there should be no > caching. Refreshing a page that contains a part refreshes the entire > page, including the part. > > Bryan > > adamski wrote: > > ah no - its not a push service. its just that the part should refresh > > on different pages! that's what seems to be the problem.. well, > > essentially its the same URL but with different user settings. it is > > the hobo part that has introduced the problem. all that is needed is > > some way to tell hobo that that part needs updating next time it is > > viewed, which could be triggered from a controller action. no need for > > polling here :) > > > On Jun 29, 10:33 pm, kevinpfromnm <[email protected]> wrote: > >> It sounds like you're wanting something like a push service... you > >> want pages to be updated when content on them is changed elsewhere? > >> Unless you're talking about being changed in another part of the same > >> page. > > >> Assuming you're talking multiple pages, then it's a very difficult > >> problem as http is really geared towards pull. Browser makes request, > >> server sends it, waits for next request. There are ways to do it with > >> flash or by having a page continually loading. The easiest is to have > >> your page poll for updates but it can be quite an extra load. > > >> On Jun 29, 12:24 pm, adamski <[email protected]> wrote: > > >>> I've run into a problem with a hobo part. > >>> This particular part contains a dynamically-updated select menu that > >>> depends on a value attached to the current_user object. > >>> It works mostly fine, until another attribute of current_user, which > >>> is updated on another page and therefore does not affect the part in > >>> question, is changed. > >>> What happens then is that the part contains the content related to the > >>> previous state, and needs to be re-triggered to show its proper > >>> values. > >>> Basically - I am looking for a way to clear this hobo part cache, if > >>> such a thing exists, or if there is another work-around for this > >>> dilemma? > >>> Thanks > >>> Adam. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
