On 11/28/10 5:26 AM, Jacek Kałucki wrote: > Hi. > > Thanks to Paul latest changes,
Are you referring to r6189? > we have improvements in entire requerying > process, although they aren't utilized in framework yet. > Consider the following situation: you have backend access > over the slow link, and you set ChildCacheInterval to 5 minutes. > But if you want to get most recent data, do you need to wait > until cache expire? > I think, you could add in dForm.requery() method, just before > response = bizobj.requery() > line, call to > bizobj.expireCache() > by default. > This forces to requery data with on user demand. I think this makes sense. If the user explicitly hits "requery", they are going to expect all child data to be up to date, too. I'm thinking we should maybe put this at the biz.requery() level though, which will require additional code to separate the requeries generated from requeryAllChildren() - here, we don't want to expire the cache - from the requeries generated from elsewhere, including from dForm. Hang on, I'm working on something that fixes up another case, too. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
