I can't speak to that. I haven't yet started using the Transfer cache. On Tue, Jan 27, 2009 at 9:26 AM, Chris H <3darkli...@gmail.com> wrote:
> > i tried it with Application.objvarname.setProperty()... but no go. > should i try setting the cache options in the transfer config file to > a different scope? > > On Jan 27, 2:59 pm, jonathanburnham <jonathanburn...@gmail.com> wrote: > > scope your vars by adding the scope in dot notation. So when you update > > your object, instead of objvarname.setProperty()....use > > scope.objvarname.setProperty() > > > > On Tue, Jan 27, 2009 at 8:56 AM, Chris H <3darkli...@gmail.com> wrote: > > > > > jonathanburnham: i'm guessing that is it. so how would i go about > > > always using the same scope? > > > > > On Jan 27, 2:51 pm, jonathanburnham <jonathanburn...@gmail.com> wrote: > > > > Is it possible the object exists in two different scopes? Maybe the > > > object > > > > that is updating the database is in request, and what is generating > your > > > > output is in a persistant scope? > > > > > > On Tue, Jan 27, 2009 at 8:43 AM, Chris H <3darkli...@gmail.com> > wrote: > > > > > > > well, the Remote Proxy is using the same beanFactory that is > defined > > > > > as Application.beanFactory. i though about this too, the thing is, > the > > > > > one Object that works is using the same Remoty Proxy for its > updates > > > > > and there are no problems there. it's calling the same function to > > > > > update its values as the other ones that don't work. > > > > > > > On Jan 27, 2:12 pm, Matt Williams <mgw...@gmail.com> wrote: > > > > > > It sounds like somehow when you get the transfer bean that you > are > > > > > > saving it is not pulling the cached version. How do you get that > bean > > > > > > and populate it? > > > > > > The Remote Proxy could be the issue if it is somehow getting > setup > > > > > > with a different instance of Transfer. > > > > > > > > Matt Williams > > > > > > > > On Jan 27, 8:04 am, Chris H <3darkli...@gmail.com> wrote: > > > > > > > > > there are no caching options set in the transfer config, so > they're > > > > > > > the defaults. > > > > > > > the cache updates correctly for 1-2 of the objects, but not for > > > most > > > > > > > of the others. > > > > > > > if it helps, i'm updating via Ajax with a Remote Proxy that was > > > > > > > generated with ColdSpring. But this works fine for one of the > > > objects, > > > > > > > so that can't be it. > > > > > > > What could be a cause for this if the database is updated fine > but > > > > > > > after a reload of the page the old values are still displayed? > > > > > > > thanks! > > > > > > > > > On Jan 27, 1:51 pm, Chris Peterson <overrid...@gmail.com> > wrote: > > > > > > > > > > sounds like you have your cache in perhaps 2 different spots, > or > > > the > > > > > save is > > > > > > > > happening under a different application name? > > > > > > > > > > Care to post the cache portion of your transfer config? > > > > > > > > > > Chris Peterson > > > > > > > > > > On Tue, Jan 27, 2009 at 7:30 AM, Chris H < > 3darkli...@gmail.com> > > > > > wrote: > > > > > > > > > > > Hey, this is my first full application i'm doing with > Transfer > > > and > > > > > i'm > > > > > > > > > having a problem with the cache. > > > > > > > > > Most cached objects don't get updated on save(), but the > > > changes > > > > > are > > > > > > > > > visible in the database. Only when I do an ?init=true > (which > > > > > reinits > > > > > > > > > Model-Glue & ColdSpring) are the TransferObjects updated. > > > > > > > > > any ideas? thanks in advance! > > > > > > > > > > -- > > > > > > > > Hey! I dont tell you how to tell me what to do, so dont tell > me > > > how > > > > > to do > > > > > > > > what you tell me to do! ~ Bender (Futurama) > > > --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to transfer-dev@googlegroups.com To unsubscribe from this group, send email to transfer-dev-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---